users@jersey.java.net

400 Bad Request (bug?)

From: Jordi Domingo <noseya_at_hotmail.com>
Date: Tue, 22 Sep 2009 13:50:08 +0200

Hi all :)
I'm getting this error, and i think that is a bug. This is my request:
POST /projects/1/vulnerabilities HTTP/1.1Host: localhostUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; es-ES; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)Accept: application/json, text/javascript, */*Accept-Language: ca,en-us;q=0.7,it;q=0.3Accept-Encoding: gzip,deflateAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive: 300Proxy-Connection: keep-aliveContent-Type: application/x-www-form-urlencoded; charset=UTF-8X-Requested-With: XMLHttpRequestReferer: http://localhost/projects/1/vulnerabilities/newCookie: JSESSIONID=16f95e59d3b1b0e954310c190c60Content-Length: 161
identifier=identifier&usersId=1&statusId=1&weaknessesId=4&name=name&description=description&visibility=I&standardProvidersCodesId=&severity=2&difficulty=2&risk=1
THe response is 400 Bad Request.
What you see in bold is causing the bad request. Take it out and works fine.
Thanks,
Jordi _________________________________________________________________ Chatea sin límites en Messenger con la tarifa plana de Orange http://serviciosmoviles.es.msn.com/messenger/orange.aspx