-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added naive support for formData (#68)
Based on the operation info the content type is determined. If it is FORM_URLENCODED, it is handled differetly, because of the specification requirements. The support is naive because a definition is created (as in the old behavior), but rather pointing to a reference to that definition. I am shallowly recursing through it and mapping it to a formData dictionary. A better solution is to extend the visitor pattern when creating definitions and a support for FORM_URLENCODED, rather than creating an unused definition. But, since this is a large effort, the naive solution seems suitable. Signed-off-by: Anton Obretenov <[email protected]> Co-authored-by: Anton Obretenov <[email protected]>
- Loading branch information
ToniO
and
Anton Obretenov
authored
Nov 3, 2020
1 parent
f06cf93
commit aa0f4f2
Showing
7 changed files
with
98 additions
and
20 deletions.
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
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
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
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