summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-04-18 11:14:56 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-04-18 11:14:56 +0000
commitf81ea3419e1c2374da0c1440755f71d875d6ff6c (patch)
treed5a1534c514c9c734650e4355093125f0bf4d25e /utils
parent3958f3730ba9e48cf9f92b0eff61ac9b0cf95161 (diff)
downloadnetsurf-f81ea3419e1c2374da0c1440755f71d875d6ff6c.tar.gz
netsurf-f81ea3419e1c2374da0c1440755f71d875d6ff6c.tar.bz2
Fix Content-Type header parsing
svn path=/trunk/netsurf/; revision=10426
Diffstat (limited to 'utils')
-rw-r--r--utils/http.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/http.c b/utils/http.c
index 65c82d39e..71c8a216e 100644
--- a/utils/http.c
+++ b/utils/http.c
@@ -312,11 +312,6 @@ nserror http_parse_content_type(const char *header_value, char **media_type,
pos++;
if (*pos == ';') {
- pos++;
-
- while (*pos == ' ' || *pos == '\t')
- pos++;
-
error = http_parse_parameter_list(&pos, &params);
if (error != NSERROR_OK) {
free(subtype);