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

Add support for checking response type before adding headers #14

Open
juunas11 opened this issue Jan 12, 2018 · 1 comment
Open

Add support for checking response type before adding headers #14

juunas11 opened this issue Jan 12, 2018 · 1 comment

Comments

@juunas11
Copy link
Owner

Quoting dasmulli on Slack:

could also look into not adding the headers before the next steps of the pipeline, but rather registering a delegate somewhere in the response. this would enable for response type checking.. other than checking the request for known api paths etc.

@agilenut
Copy link

FYI - I think the change proposed here allows you to check the content-type of the response in the OnSendingHeader callback.

#39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants