Re: NSURLProtocol
Re: NSURLProtocol
- Subject: Re: NSURLProtocol
- From: danchik <email@hidden>
- Date: Sat, 11 Apr 2015 20:07:53 -0700
an npapi plugin on a web page, it registers a protocol handler
> On Apr 11, 2015, at 2:26 AM, Mike Abdullah <email@hidden> wrote:
>
>
>> On 11 Apr 2015, at 02:28, Dan S <email@hidden> wrote:
>>
>> Is behavior of NSURLProtocol changed with Safari 5.1?
>>
>> I have a plugin that registeres a protocol handler xyz:// for example
>
> Could clarify what exactly you mean by “plugin” here?
>>
>> It succeeds and I can see all the requests to files on web pages being
>> consulted with the object via
>> +(BOOL) canInitWithRequest:(NSUrlRequest):
>>
>> With Safari 5.0 I would get consulted on all schemas (of cource it would
>> only return YES for the xyz://) but with Safari 5.1.10 the only
>> consultation I get (canInitWithRequest) are with the webpage schema
>> (https://) and never see any calls asking about xyz:// protocol
>>
>>
>> What can I do to get it to work in Safari 5.1.10?
>>
>> On PC for example, when registering custom protocol I actually have to
>> specify that it is secure and ok to be invoked when running from HTTPS, I
>> did not see anything like that on OSX, is that the problem and if so is
>> there a fix for it?
>>
>> Thank you
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden