When receiving an HTTP response that has a Content-Type header such as text/xml, but no body, RSSFilterStream::notifyHeadersReceived reads the Content-Type as "potential RSS", and calls saveHeaders. It expects to sniff the body in notifyDataReceived to see if it's RSS, and then call sendSavedHeaders to pass on the headers. But notifyDataReceived is never called since there's no body, so neither is sendSavedHeaders. The result is that NetworkJob sees "notifyStatusReceived; notifyClose" instead of "notifyStatusReceived; notifyHeadersReceived; notifyClose".
Created attachment 195145 [details] fix
Created attachment 195146 [details] fix Right patch this time
Comment on attachment 195146 [details] fix LGTM.
Comment on attachment 195146 [details] fix Clearing flags on attachment: 195146 Committed r146922: <http://trac.webkit.org/changeset/146922>
All reviewed patches have been landed. Closing bug.