Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support to ignore user specified HTTP headers when searching route handlers #161

Merged
merged 3 commits into from
Apr 22, 2017

Conversation

whimet
Copy link

@whimet whimet commented Mar 23, 2017

This change is to add the ability for Drakov to ignore user specified list of HTTP headers when it searches route handlers.

This feature could be useful if user has to put some headers in API blueprints (for example, for the sake of doing contract tests with Dredd), but don't want to strictly match these headers when Drakov is used as a mock server.

@whimet
Copy link
Author

whimet commented Mar 23, 2017

The failed build caused by first pull request is due to an brittle test which could fail if the version of 'superagent' changes.

The updated pull request contains a fix to the brittle test.

@yakovkhalinsky
Copy link
Contributor

Looks good, merging

Thank you for updating README and tests 👍

@yakovkhalinsky yakovkhalinsky merged commit 832e771 into Aconex:master Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants