-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for Proxy-Authorization, and closes #460
- Loading branch information
1 parent
a4cb1e7
commit dbe9310
Showing
4 changed files
with
86 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
2 comments
on commit dbe9310
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this some tests are failing:
Failure → spec/plugins/basicauth/access_spec.lua @ 87
Authentication Plugin Basic Authentication should pass with GET and proxy-authorization
spec/plugins/basicauth/access_spec.lua:91: Expected objects to be equal.
Passed in:
(nil)
Expected:
(string) 'Basic dXNlcm5hbWU6cGFzc3dvcmQ='
Failure → spec/plugins/basicauth/access_spec.lua @ 101
Authentication Plugin Basic Authentication should pass with GET and valid authorization and wrong proxy-authorization
spec/plugins/basicauth/access_spec.lua:105: Expected objects to be equal.
Passed in:
(nil)
Expected:
(string) 'Basic dXNlcm5hbWU6cGFzc3dvcmQ='
Failure → spec/plugins/basicauth/access_spec.lua @ 108
Authentication Plugin Basic Authentication should pass with GET and invalid authorization and valid proxy-authorization
spec/plugins/basicauth/access_spec.lua:112: Expected objects to be equal.
Passed in:
(nil)
Expected:
(string) 'Basic dXNlcm5hbWU6cGFzc3dvcmQ='
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of a Mockbin bug: Kong/insomnia-mockbin#36 - It works with http://httpbin.org
Once @ahmadnassri fixes the bug, the test will work.
^