We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3454390 commit 85c1100Copy full SHA for 85c1100
1 file changed
src/main/java/org/javawebstack/httpclient/HTTPRequest.java
@@ -118,6 +118,10 @@ public HTTPRequest jsonBody(Object object) {
118
return jsonBodyElement(client.getAbstractMapper().toAbstract(object));
119
}
120
121
+ public Map<String, String[]> headers() {
122
+ return responseHeaders;
123
+ }
124
+
125
public HTTPRequest jsonBodyElement(AbstractElement element) {
126
return body(element.toJsonString()).contentType("application/json");
127
0 commit comments