Re: Using CFHTTPMessage to parse response header but not body?
Re: Using CFHTTPMessage to parse response header but not body?
- Subject: Re: Using CFHTTPMessage to parse response header but not body?
- From: Jeff Johnson <email@hidden>
- Date: Mon, 14 May 2012 23:31:04 -0500
On May 14, 2012, at 8:50 PM, Jens Alfke wrote: On May 14, 2012, at 5:40 PM, Mark Pauley wrote: I'm not sure whether the chunked encoding is handled at the Message layer or the Stream layer, but I have a suspicion that the stream handles this, and the message itself doesn't do any chunk parsing for you. Have you tried it? I decided it was easier & safer to scan for the CRLFCRLF myself, and send only the data before it to CFHTTPMessage. Works fine.
Curse you, now I have to test it! For the sake of future generations of googlers searching the list archives.
According to my little test project, Mark is correct, CFHTTPMessage doesn't do any chunk parsing.
-Jeff
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden