forked from stripe/smokescreen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VerifyRequestHandler config option (stripe#180)
* Add VerifyRequestHandler config option * GetProxyConnectHeader -> ProxyConnectHeader * Remove some extraneous changes * rename to proxyConnectHeaders * call it CustomRequestHandler * pctx.Req -> req * remove the header in the handler and add assertion * remove unnecessary comment * fix test name * improve test names * create proxyClientWithConnectHeaders method * add comment explaining smokescreen behaviour when error is returned
- Loading branch information
1 parent
5b7c3b7
commit 90e9012
Showing
3 changed files
with
158 additions
and
0 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