Skip to content

Commit

Permalink
Remove unnecessary(?) handling for extra form type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 15, 2021
1 parent 25b0235 commit 8e20fad
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ public IntermediateResponse<String> handle(RequestParameters params) throws ApiE
throw new ApiException(415, "Bad content type: " + rawMime);
}
switch (mime) {
// TODO test if these both get parsed properly into the FormAttributes
case MULTIPART_FORM:
case URLENCODED_FORM:
Rule.Builder builder =
new Rule.Builder()
.name(params.getFormAttributes().get("name"))
Expand Down

0 comments on commit 8e20fad

Please sign in to comment.