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

Proxy duplicating header values #596

Closed
dixitsuneel opened this issue Nov 17, 2017 · 3 comments
Closed

Proxy duplicating header values #596

dixitsuneel opened this issue Nov 17, 2017 · 3 comments
Assignees

Comments

@dixitsuneel
Copy link

dixitsuneel commented Nov 17, 2017

I have a function and a proxy for that function in my azure env.

I am invoking the proxy from logic app and what I am seeing is that by the time the function receives the request all the header values have been duplicated.

For e.x:= logic app sends x-ms-execution-location as eastus
but when the function receives the request the header value is turned to
x-ms-execution-location : "eastus, eastus"

why is this happening? How do I avoid this kind of duplication?

I tried to do a request override by setting x-ms-execution-location: ""
This simply concatenates the header x-ms-execution-location with a comma "eastus,"
Please help.

@omkarmore83 omkarmore83 self-assigned this Nov 17, 2017
@omkarmore83
Copy link
Member

omkarmore83 commented Nov 17, 2017

Looks like an issue in proxies code when calling a local function. Working on a fix.
Note that this does not occur when your Proxies and Backend Function are on separate function apps. So if possible you can move your proxies to a separate function app as a workaround.

@dixitsuneel
Copy link
Author

That's too much of a hassle. For now we have a code workaround to handle the duplicate scenario.

We will wait for this fix. Thank you.

@safihamid
Copy link

The fix is released.

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

3 participants