tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Frey (Inxmail GmbH)" <>
Subject Re: [Fwd: Re: Parameters disappear from PUTs]
Date Mon, 08 Feb 2010 15:02:48 GMT
On Saturday 06 February 2010 03:27:23 wrote:
> Are you serious?


> I'm certain you're not suggesting that browsers be forced to insert a name
> before the parameter string in every POST request.
> What does *any* of this have to do with a simple
> post to the list explaining that parameters passed with a PUT request seem
> to be stripped out by Tomcat
> It's a mystery to me.

If you had properly formatted your message in a way that request headers, 
request body and response could be distinguished, you would've gotten a useful 
response sooner. I also misread this several times before I noticed, because 
it all looked like a big block of headers (quote characters intentionally 

PUT /json/members/1b35d32f-714d-4393-b8c2-b4805e0c7a13 HTTP/1.1
Host: localhost:12344
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv: Gecko/20091221 Firefox/3.5.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://localhost:12344/
Content-Length: 297
Cookie: JSESSIONID=dexcmg3b1r45
HTTP/1.x 201 Created
Content-Length: 82
Content-Type: text/plain; charset=UTF-8
X-Lift-Version: 1.1-M4
Server: Jetty(6.1.22)

> Chas.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message