Skip to content

Commit

Permalink
Revert header content type
Browse files Browse the repository at this point in the history
Unnecessary change
  • Loading branch information
AlanRoth committed Nov 19, 2019
1 parent 6b30036 commit 495d2fc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -885,7 +885,7 @@ public static RestResponse post(String address, Object payload, String contentTy
}
Response cr = target.request(RESPONSE_TYPE).header("Content-Type", contentType)
.cookie(new Cookie(REST_TOKEN_COOKIE, getRestToken()))
.header("Content-type", MediaType.APPLICATION_FORM_URLENCODED)
// .header("Content-type", MediaType.APPLICATION_FORM_URLENCODED)
.post(Entity.entity(payload, contentType), Response.class);
RestResponse rr = RestResponse.getRestResponse(cr);
return rr;
Expand Down

0 comments on commit 495d2fc

Please sign in to comment.