The best time to register for DrupalCon Dublin is now. Earlybird discounts end July 29.
From #106506: drupal_http_request() does not handle 'chunked' responses - Make it support HTTP 1.1
Helps to know what this looks like: http://en.wikipedia.org/wiki/Chunked_transfer_encoding#Example
Various functions on php.net. IMHO the regex ones seem like a bad idea.http://php.net/fsockopen#96146http://php.net/fsockopen#85572http://php.net/fsockopen#73581 (this one handles compression)
Also see #997648-6: drupal_http_request() always calls fread() one more time than necessary
To handle HTTP/1.1, 100 Continue and headers at the bottom of the chunked response needs to be accounted for http://www.jmarshall.com/easy/http/#http1.1clients. So right now this is does not support the full 1.1 spec but it should handle most use cases.
This patch below has been committed, if the full 1.1 spec is needed a new issue can be opened.
Automatically closed -- issue fixed for 2 weeks with no activity.
add in one more issue
Drupal is a registered trademark of Dries Buytaert.