-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add quality-of-life improvements for bodies
On the request side, you can now match the request body against one or more substrings and regular expressions, which makes life easier for those of us who need to deal with request bodies that have non-deterministic elements in them (like nonces). On the response side. you can now write your JSON response bodies *as JSON*, which is significantly easier than having to escape eleventy-billion quotes, and match up braces by eye. To avoid any bloat or unpleasant interactions with existing code, all the new features are gated behind, well, features.
- Loading branch information
Showing
4 changed files
with
293 additions
and
52 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
Oops, something went wrong.