Hi,
What would be the programming model for an http 1.1 client implementation with support for pipeling? I am interested in pipeling POSTs.
Hi,
What would be the programming model for an http 1.1 client implementation with support for pipeling? I am interested in pipeling POSTs.
You question seems to be back to front to me. If you're interested in pipelining you must already have a programming model in mind. And the RFC does say that POST shouldn't be pipelined.
As EJP already mentioned, POSTs shouldn't be pipelined. But since "SHOULD" is not "MUST", I'll be adding pipelining support (yes, POSTs will also be supported) to hotpotato pretty soon.
Not sure whether you're looking for an existing implementation or wanting to make one of your own... Either way, that project could come in handy :)
There is also work under way by a developer to add HTTP pipelining support for Async HTTP Client at github.
With respect to pipelining POSTs, one might want to read "should not" pretty much same as "DO NOT" -- if standard specifier thinks it's a bad idea, maybe it is? -- but perhaps there are specific use cases where it is well known that general unknowns with POSTS (lack of idempotency) are not true, and thereby it makes sense.