Bug 447 HTTP Header Range sent incorrectly
Jakub Lisowski <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello I've recently submitted a bug 447. In attachment there is a patch for this issue. Jakub Lisowski
wsp_headers.c.bug.0000447.patch
(text/x-diff, 652 B)
--- wsp_headers.c.1.26 2008-02-13 12:58:35.000000000 +0100
+++ wsp_headers.c 2008-02-13 13:08:19.000000000 +0100
@@ -950,7 +950,7 @@
if (parse_error(context))
goto error;
- decoded = octstr_create("bytes = ");
+ decoded = octstr_create("bytes=");
octstr_append_decimal(decoded, first_byte_pos);
octstr_append_char(decoded, '-');
@@ -966,7 +966,7 @@
if (parse_error(context))
goto error;
- decoded = octstr_create("bytes = -");
+ decoded = octstr_create("bytes=-");
octstr_append_decimal(decoded, suffix_length);
} else {
goto error;