Closed pellet closed 11 years ago
I think this introduces a new flaw: if the header arrives in more than one "chunk", they will be reported to the caller separately. Or have I missed something?
OK, thanks for spotting this issue, I've implemented my own fix for it on the 3.x branch.
... without a body(such as with a conditional-get)
The NSURLProtocol was giving an internal error on such a request since it would call the didFinish delegate before calling didReceiveResponse.