diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-01-06 23:53:02 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-01-06 23:53:02 +0000 |
commit | b1e0a711c798c48059c5d40835649c84e109d056 (patch) | |
tree | 208c2784263718739871b2f9c4ff73ff84cc7789 /utils | |
parent | 51de6c2e7cad5940a8f84cd218ce837da3561790 (diff) | |
download | netsurf-b1e0a711c798c48059c5d40835649c84e109d056.tar.gz netsurf-b1e0a711c798c48059c5d40835649c84e109d056.tar.bz2 |
Stop reporting error from mime sniffing when a fetcher completes with no data
If a fetcher returns with no data (no content or http error code 204)
the hlcache state machine was trying to mimesniff using non existent
header data and reporting the resulting NSERROR_NOT_FOUND as a
"BadType" message.
This changes the behaviour to be similar to that in the headers
received case where NSERROR_NOT_FOUND from the mimesniffing is not an
error.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions