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

Setting headers automatically causes issues #11

Open
phillijw opened this issue Apr 16, 2024 · 0 comments
Open

Setting headers automatically causes issues #11

phillijw opened this issue Apr 16, 2024 · 0 comments

Comments

@phillijw
Copy link

headers.Add("content-type", "application/json;charset=UTF-8");

On this line, setting the headers for content-type and content-length automatically can cause issues, such as my specific use case. The server I'm connecting to does not allow the content-type (and I realize they SHOULD). If this was able to be overridden somehow that would be great. At the moment I'm working around it by using the overloaded method that allows a string.

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

1 participant