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

Allow access to headers in python wrapper #1769

Closed
ukclivecox opened this issue Apr 30, 2020 · 1 comment
Closed

Allow access to headers in python wrapper #1769

ukclivecox opened this issue Apr 30, 2020 · 1 comment

Comments

@ukclivecox
Copy link
Contributor

  • Allow decision in Routers to use headers
  • Allow models to implement different functionality based on Headers.
@ahutterTA
Copy link
Contributor

This has worked for us:

from flask import request
my_header = request.headers.get("myheader")

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

No branches or pull requests

2 participants