Using CFHTTPMessage to help read incoming server-side request?
Using CFHTTPMessage to help read incoming server-side request?
- Subject: Using CFHTTPMessage to help read incoming server-side request?
- From: James Berry <email@hidden>
- Date: Sat, 07 Dec 2002 12:37:58 -0800
I'm interested in using CFHTTPMessage to help implement http request
processing (from the server side). On the surface, it looked like I could
call CFHTTPMessageCreateEmpty to create a message, then build up the message
by calling CFHTTPMessageAppendBytes as bytes are streamed in.
But how do I know when I've received the entire http request? There appears
to be no API to tell me that I've got a complete message. Do I need to
handle all the message parsing myself? In particular, there's no
"intuitively obvious" means of detecting the end of a chunked body.
-jdb
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.