From f81ea3419e1c2374da0c1440755f71d875d6ff6c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 18 Apr 2010 11:14:56 +0000 Subject: Fix Content-Type header parsing svn path=/trunk/netsurf/; revision=10426 --- utils/http.c | 5 ----- 1 file changed, 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, ¶ms); if (error != NSERROR_OK) { free(subtype); -- cgit v1.2.3