I have an issue when I try to sent a empty string using jersey-client
lib, when jersey generate the request strip the = sign when the value
is an empty string.
Jersey generate something like (value is the empty string, the equals
is lost and I get a 500 error):
If I go to the browser an enter (this one works!!!):
I did a quick research in your code and seems that I get the line that
is causing the bug. Also, I read something about this on
http://tools.ietf.org/html/rfc3986#section-3.4 the equals is not optional it should be there.
The bug is in jersey-core 1.13, line 480 (it should be >= instead of >)
if (stringValue.length() > 0)