ed2944f615eb64c06c10b868754a60926a04a412
max
  Tue Sep 15 05:47:46 2026 -0700
Four leftovers from the Content-Type sweep, refs #38353

edwWebAuthLogin and edwWebAuthLogout still printed a blank line of their own after
cgiPrintContentType(), which already ends the header block, so every response began with an
empty line in the body.

hgPhyloPlace built its own Content-Type line from a macro in five places.

hgChooseDb's fail() sent a Status line and no Content-Type at all, so a bad request came back
with a body apache had no type for.

diff --git src/hg/encode3/encodeDataWarehouse/edwWebAuthLogin/edwWebAuthLogin.c src/hg/encode3/encodeDataWarehouse/edwWebAuthLogin/edwWebAuthLogin.c
index 62c30617996..82d388d56ae 100644
--- src/hg/encode3/encodeDataWarehouse/edwWebAuthLogin/edwWebAuthLogin.c
+++ src/hg/encode3/encodeDataWarehouse/edwWebAuthLogin/edwWebAuthLogin.c
@@ -92,19 +92,18 @@
 /* Return email */
 return mustGetJsonObjString(json, "email", personaUrl);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 if (!cgiIsOnWeb())
     usage();
 char *email = checkAuth();
 char sid[EDW_SID_SIZE];
 edwMakeSid(email, sid);
 printf("Set-Cookie: email=%s\r\n", cgiEncode(email));
 printf("Set-Cookie: sid=%s\r\n", cgiEncode(sid));
 cgiPrintContentType("text/plain");
-printf("\r\n");
 printf("ok\n");
 return 0;
 }