]> granicus.if.org Git - apache/commitdiff
Send HTTP status line in ascii from ebcdic boxes...makes browsers much happier.
authorGreg Ames <gregames@apache.org>
Wed, 20 Dec 2000 23:13:01 +0000 (23:13 +0000)
committerGreg Ames <gregames@apache.org>
Wed, 20 Dec 2000 23:13:01 +0000 (23:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87467 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index f34f29e52eaa751d5634c69087c847eede869de9..079677d595b50ff9a305d7146aaca763b7a10a9d 100644 (file)
@@ -1865,6 +1865,7 @@ AP_DECLARE(void) ap_basic_http_header(request_rec *r, char *buf)
     /* Output the HTTP/1.x Status-Line and the Date and Server fields */
 
     tmp = apr_pstrcat(r->pool, protocol, " ", r->status_line, CRLF, NULL);
+    ap_xlate_proto_to_ascii(tmp, strlen(tmp));
     apr_cpystrn(buf, tmp, strlen(tmp) + 1);
     buf += strlen(tmp);