Basically, I am sending a POST request with an empty data body:
ASIHTTPRequest *request [ASIHTTPRequest alloc] init]; [request setURL:[NSURL URLWithString:escapedUrlString]]; [request setRequestMethod:@"POST"]; [request addRequestHeader:@"Content-Type" value:@"application/xml"]; [request startSynchronous];
But I get this answer every time:
Invalid NSStringEncoding value 0x0000. Assume NSStringEncodingASCII. This compatibility mapping behavior will stop soon.
I am wondering if message values ββneed to be set.
Frank
source share