-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finatra-http: add an additional http post helper for tests
Summary: Problem It is not possible to create a non-multipart post request with repeating params e.g. curl -X POST http://example.com/post_endpoint -d foo=bar -d foo=baz since the httpFormPost param arg is of type Map[String, String] Solution Add an additional multipart boolean param to method httpMultipartFormPost that is passed on to formPost Differential Revision: https://phabricator.twitter.biz/D113151
- Loading branch information
Sumit Shah
authored and
jenkins
committed
Nov 18, 2017
1 parent
5eb8e4b
commit c139d95
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters