I wrote a simple Grizzly/Jersey application, which you can find here:
https://github.com/boldt/stackoverflow-14526627
I want to post some form data:
curl -X POST -F "name=test" -i http://localhost:9999/files
I'm getting the following response:
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Fri, 25 Jan 2013 16:51:18 GMT
Transfer-Encoding: chunked
As you can see, the header is doubled, first a 100 Continue
followed by a 200 OK
. Is doesn't makes sense to get the 100 Continue
.
Any suggestions?