Hacker News new | ask | show | jobs
by tedunangst 2900 days ago
But chrome doesn't see the content type until after the response is served.
1 comments

No, it sees the content type in the headers that are at the start of the response. Presumably if that header isn't correct it'll stop downloading any further data.
After Lucene has spent some variable amount of time depending on how many documents match the query...