[Haskell-cafe] Error in HTTP 4.004 + CouchDB?
Daniel McAllansmith
dm.maillists at gmail.com
Fri Jan 23 22:06:20 EST 2009
On Sat, 24 Jan 2009 14:18:24 Tristan Seligmann wrote:
> * Alex Ott <alexott at gmail.com> [2009-01-22 20:32:26 +0100]:
> > PUT http://127.0.0.1:5984/test1/Users_ott_tmp_1_tst HTTP/1.1
> > Content-Type: ...
> > ...
> > Host: 127.0.0.1:5984
> > ...
>
> Note that this is a valid HTTP request, according to my reading of RFC2616.
Depends what you mean by valid. Yes it's a valid request to receive, no an
implementation is not compliant with RFC2616 if it issues a request like this
to an origin server.
Have a look at section 5.1.2. An implementation is REQUIRED to issue requests
like this to proxies, an implementation MUST handle receiving requests like
this, an implementation MUST use the abs_path form in requests to origin
servers and gateways, ie
PUT /test1/Users_ott_tmp_1_tst HTTP/1.1
Host: 127.0.0.1:5984
Dan
More information about the Haskell-Cafe
mailing list