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

Ability to not pass implicit headers "application/x-protobuf" to the request #82

Open
abhivaikar opened this issue Feb 4, 2022 · 0 comments

Comments

@abhivaikar
Copy link

abhivaikar commented Feb 4, 2022

One of the apis (that requires protobuf encoded payload over http) I'm testing accepts content-type as ONLY binary/octet-stream.

Hence I'm passing the header from protoman like this:
image

But when I make the request, the service is receiving content-type as binary/octet-stream,application/x-protobuf. I guess that means Protoman is attaching application/x-protobuf in the header. Due to this, the api call fails.

Can this implicit passing of application/x-protobuf be removed or made optional?

@abhivaikar abhivaikar changed the title Ability to not pass implicit headers for application/x-protobuf Ability to not pass implicit headers "aplication/x-protobuf" to the request Feb 4, 2022
@abhivaikar abhivaikar changed the title Ability to not pass implicit headers "aplication/x-protobuf" to the request Ability to not pass implicit headers "application/x-protobuf" to the request Feb 4, 2022
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