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

[enhancement] add ability to remove default headers #511

Open
zxsleebu opened this issue Mar 31, 2024 · 2 comments
Open

[enhancement] add ability to remove default headers #511

zxsleebu opened this issue Mar 31, 2024 · 2 comments

Comments

@zxsleebu
Copy link

zxsleebu commented Mar 31, 2024

default headers on websocket client connection like "User-Agent" and "Origin" are very annoying.
please, add an ability to remove automatic addition of these headers.
it would be nice if they could be removed, because in my case if these headers are present, server drops the connection

@zxsleebu
Copy link
Author

zxsleebu commented Apr 8, 2024

that's what i've done to get ixwebsocket work with riot games webserver. zxsleebu@7aa7dcd

@bsergean
Copy link
Collaborator

Hey would you mind making a PR for that ?

We could drop userAgent, but droping Origin sounds a bit more problematic. We'd need some option for that.

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