Skip to content

Conversation

@wvanlint
Copy link
Contributor

Reverse proxies can default to different content types with UTF-8 encoding and reject/modify the body. This change sets the Content-type header in requests to application/octet-stream as the body will be a serialized protocol buffer.

Copy link
Contributor

@G8XSU G8XSU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Feel free to squash after minor fixes.

Reverse proxies can default to different content types with UTF-8 encoding and reject/modify the body. This change sets the `Content-type` header in requests to `application/octet-stream` as the body will be a serialized protocol buffer.
@wvanlint
Copy link
Contributor Author

Thanks for the quick review!

@wvanlint wvanlint requested a review from G8XSU January 13, 2024 02:07
@G8XSU G8XSU merged commit 4dbe776 into lightningdevkit:main Jan 13, 2024
@G8XSU G8XSU mentioned this pull request Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants