Fix Content-Type header parsing
svn path=/trunk/netsurf/; revision=10426
This commit is contained in:
parent
3958f3730b
commit
f81ea3419e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue