On 20 Oct 2014, at 23:57, Daryle Walker <[email protected]> wrote:
> Here’s a copy of that post, called “Can't get first try of NSURLProtocol
> subclass to work.”:
I'm not sure what's going on here, but it certainly looks like WebKit is grumpy
with the response you've sent it. I can't see anything obviously broken about
your code.
My standard recommendation for NSURLProtocol subclasses is to test the code by
loading an appropriate URL with NSURL{Session,Connection}. That allows you to
test it in isolation, keeping the massive complexity of WebKit out of the
picture until you're sure that things are working in general.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com
This email sent to [email protected]