DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27715>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27715 Apache dosn't understand "Range:" header if client sent "bytes = 0-100" instead "bytes=0-100" ------- Additional Comments From [EMAIL PROTECTED] 2004-03-16 16:34 ------- That is a possible patch: --- apache_1.3.29/src/main/http_protocol.c.old 2004-03-16 18:59:27.000000000 +0300 +++ apache_1.3.29/src/main/http_protocol.c 2004-03-16 19:01:08.000000000 +0300 @@ -303,10 +303,12 @@ if (!(range = ap_table_get(r->headers_in, "Range"))) range = ap_table_get(r->headers_in, "Request-Range"); - if (!range || strncasecmp(range, "bytes=", 6)) { + if (range && strncasecmp(range, "bytes=", 6)==0) + range += 6; + if (range && strncasecmp(range, "bytes = ", 8)==0) + range += 8; + else return 0; - } - range += 6; /* Check the If-Range header for Etag or Date. * Note that this check will return false (as required) if either --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
