Skip to content

Conversation

KevinClair
Copy link

Fix duplicate request headers are added #244

@dsmiley
Copy link
Collaborator

dsmiley commented Nov 9, 2023

When does this problem happen? Could you add a test?

@KevinClair
Copy link
Author

When does this problem happen? Could you add a test?

We try to request a proxied URL and carry the cors request header. This problem causes the returned response to contain duplicate Access-Control-Allow-Origin request headers.

@dsmiley
Copy link
Collaborator

dsmiley commented Nov 9, 2023

I guess more specifically, is this a bug, or is it more of an improvement relating to user custom code?

@KevinClair
Copy link
Author

If you request a proxied url with 'CORS' request header, it's a bug what will cause problem. But if not, it's correct.

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

Successfully merging this pull request may close these issues.

2 participants