[wp-trac] Re: [WordPress Trac] #4779: Proposal for HTTP POST and
REQUEST API
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 8 23:29:14 GMT 2008
#4779: Proposal for HTTP POST and REQUEST API
------------------------------------------+---------------------------------
Reporter: darkdragon | Owner: jacobsantos
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: Optimization | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests |
------------------------------------------+---------------------------------
Comment (by santosj):
I think it is possible to support chunk transfer-encoding in the other
transports. It seems some servers are sending HTTP/1.1 responses, when the
requests were sent using HTTP/1.0. It means that when the response comes
back it is most often chunk transfer-encoded, which screws up major
portions of the site.
I'm going to build a custom test suite for testing the HTTP API, because
using the official Automattic !WordPress Tests isn't exactly working for
me. I'm going to extend the test suite to cover the chunk decoding (the
algorithm doesn't seem difficult). It should also allow for users to test
the transports on their system (much like the plugin upgrader debug
plugin). Doing it this way should mean that it won't concern the developer
with having to test the response for chunk encoding.
The ExtHTTP transport supports it, therefore all of the others need to
support it also.
--
Ticket URL: <http://trac.wordpress.org/ticket/4779#comment:125>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list