Re: Sending a non http request

2009-12-17 Thread Mike Abdullah
After a quick look through the RFC, it looks like NSURLConnection won't quite be able to meet your needs out of the box. As I understand it, what you need to happen is to take the ipp:// request and turn it into a modified HTTP request as per the spec. I suggest you read up on NSURLProtocol and

Re: Sending a non http request

2009-12-15 Thread Andrew Farmer
On 15 Dec 2009, at 14:22, Development wrote: > I am trying to post data to NSString * url = [NSString > stringWithFormat:@"ipp://%@:%i/%@",host,[service port],item]; > Which as you can see is an ipp address. However the code below fails as I get > an error from the NSError that I am using an unsu

Sending a non http request

2009-12-15 Thread Development
I am trying to post data to NSString * url = [NSString stringWithFormat:@"ipp://%@:%i/%@",host,[service port],item]; Which as you can see is an ipp address. However the code below fails as I get an error from the NSError that I am using an unsupported url. Obviously if I send it as http:// all I