Re: NSURLConnection substitutes characters?
Re: NSURLConnection substitutes characters?
- Subject: Re: NSURLConnection substitutes characters?
- From: Jens Alfke <email@hidden>
- Date: Sat, 12 Jul 2008 22:10:30 -0700
On 12 Jul '08, at 9:25 PM, email@hidden wrote:
Is there some content type I could use other than "application/x-www-
form-urlencoded" that would work with PHP scripts?
You can use any content-type you like, but your PHP script will then
have to read the data from the input stream itself, because PHP won't
parse it into a $POST dictionary for you.
Or you could keep using the urlencoded type, but then you have to
encode the body according to that data type, i.e. as name-value pairs
with the right delimiters and URL encoding, or it'll get mangled when
PHP tries to decode it.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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