Fix for NSURLProtocol

2009-02-27 Thread p . o . roussel
Hi all, The attached patch allows me to use NSURLConnection with an URL needing authentication. Without that change the connection never receives data and ends right after didReceiveAuthenticationChallenge: is received and treated by the delegate. This patch may not be the right fix, I didn't loo

Re: Fix for NSURLProtocol

2009-02-27 Thread Richard Frith-Macdonald
On 27 Feb 2009, at 21:04, p.o.rous...@free.fr wrote: Hi all, The attached patch allows me to use NSURLConnection with an URL needing authentication. Without that change the connection never receives data and ends right after didReceiveAuthenticationChallenge: is received and treated by th

Re: Fix for NSURLProtocol

2009-02-28 Thread p . o . roussel
Selon Richard Frith-Macdonald : > > On 27 Feb 2009, at 21:04, p.o.rous...@free.fr wrote: > > > Hi all, > > > > The attached patch allows me to use NSURLConnection with an URL > > needing > > authentication. > > Without that change the connection never receives data and ends > > right after > > did