• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sending a non http request
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending a non http request


  • Subject: Re: Sending a non http request
  • From: Andrew Farmer <email@hidden>
  • Date: Tue, 15 Dec 2009 19:06:34 -0800

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 unsupported url. Obviously if I send it as http:// all I get is the cups page. So the question then is how to format this url or how to send the request.

This is more of a question about IPP than about Cocoa... start reading up on how IPP works.

http://tools.ietf.org/html/rfc2910

http://tools.ietf.org/html/rfc2911

Once you've figured out how to properly format the request, just call it HTTP and send it off. If you're still just getting the CUPS page, your request isn't formatted properly._______________________________________________

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

References: 
 >Sending a non http request (From: Development <email@hidden>)

  • Prev by Date: Re: Even slider values with OpenAL pitch shifting
  • Next by Date: Re: App works when launched from Xcode, not from Finder
  • Previous by thread: Sending a non http request
  • Next by thread: Re: Sending a non http request
  • Index(es):
    • Date
    • Thread