Changed whitespace encoding to %21 instead of '+'
Changed version number for release
This commit is contained in:
1 parent
8c8f26e134
commit
50c35bc686
4 files changed
+12
-4
No files matched your search
@@ -52,7 +52,7 @@ public class RequestTest
|
||||
postRequest.addBodyParameter("param", "value");
|
||||
postRequest.addBodyParameter("param two", "value with spaces");
|
||||
postRequest.send();
|
||||
assertEquals("param+two=value+with+spaces¶m=value", postRequest.getBodyContents());
|
||||
assertEquals("param%20two=value%20with%20spaces¶m=value", postRequest.getBodyContents());
|
||||
assertTrue(connection.getHeaders().containsKey("Content-Length"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user