On Thu, Feb 26, 2009 at 2:28 PM, Joe Cheng
<Joe.Cheng@xxxxxxxxxxxxx> wrote:
Asbjørn Ulsberg wrote:
> Redirects can be handled pretty much automatically by most HTTP
> libraries these days, so I don't see the big headache.
I have no doubt this has been true for a long time with GETs, but
is it also true for POST/PUT? That means that the data for the
request body must always be provided to the HTTP library in a
form that is seekable, right? Or else the HTTP library must do
its own buffering of the request. The .NET Framework's HTTP
library doesn't handle this situation correctly, at least not in
the version we use--in fact we had to release a hotfix to Windows
Live Writer when Blogger started doing redirects on their AtomPub
endpoints.
I'm not necessarily arguing that redirects are the wrong approach,
just wondering if other HTTP libraries really do better at this
than ours does...