-
Notifications
You must be signed in to change notification settings - Fork 432
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 binding to HTTP headers #591
Comments
Perhaps. As part of merging in the http routing work, we'll also be expanding binding data to include route parameters, so we'll be doing more work in this area :) |
Closing this, since I don't think we should allow binding to headers. If we get customer asks for this, we can revisit. |
Can you explain why we shouldn't do this? This issue was created due to a customer ask, which seemed like a pretty reasonable scenario, so it'd be good to capture the reasons to close it. |
Sorry, I missed the SO link above. Unlike the route and query parameters, the headers collection can contain a lot of superfluous stuff that I don't think want to dump into the binding data bag. I'll open this back up and assign back to triage so we can discuss further. |
This supports dotting into Poco, JObject, and IDictionary. It works nicely with Blob binding data (like metadata) and Queue and can be expanded to Http requests. Supports: Azure/azure-functions-host#591 Azure/azure-functions-host#1418 #798
This supports dotting into Poco, JObject, and IDictionary. It works nicely with Blob binding data (like metadata) and Queue and can be expanded to Http requests. Supports: Azure/azure-functions-host#591 Azure/azure-functions-host#1418 Azure/azure-webjobs-sdk#798
This supports dotting into Poco, JObject, and IDictionary. It works nicely with Blob binding data (like metadata) and Queue and can be expanded to Http requests. Supports: Azure/azure-functions-host#591 Azure/azure-functions-host#1418 Azure/azure-webjobs-sdk#798
Can we expand binding to headers as well as the body and query string? Example -- someone has a third party library that sends requests with an id in the header. It'd be nice if they can bind to that directly -- http://stackoverflow.com/questions/39036629/for-azure-documentdb-input-binding-is-there-a-way-to-get-the-document-id-from-t
The text was updated successfully, but these errors were encountered: