• 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: Using CFHTTPMessage to parse response header but not body?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Using CFHTTPMessage to parse response header but not body? (From: Jens Alfke <email@hidden>)
 >Re: Using CFHTTPMessage to parse response header but not body? (From: Jeff Johnson <email@hidden>)
 >Re: Using CFHTTPMessage to parse response header but not body? (From: Jens Alfke <email@hidden>)
 >Re: Using CFHTTPMessage to parse response header but not body? (From: Mark Pauley <email@hidden>)
 >Re: Using CFHTTPMessage to parse response header but not body? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Using CFHTTPMessage to parse response header but not body?
  • Next by Date: Re: SSL host name checking doesn't understand wildcard subdomains?
  • Previous by thread: Re: Using CFHTTPMessage to parse response header but not body?
  • Next by thread: Converting UDP unicast to broadcast with NKE
  • Index(es):
    • Date
    • Thread