From: Greg Ames Date: Wed, 20 Dec 2000 23:13:01 +0000 (+0000) Subject: Send HTTP status line in ascii from ebcdic boxes...makes browsers much happier. X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~371 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b80bbc18b632b7fac686c0e798c60710765d4c3;p=apache Send HTTP status line in ascii from ebcdic boxes...makes browsers much happier. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87467 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index f34f29e52e..079677d595 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -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);