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

Content-Type request headers are not excluded #20

Closed
mwittrock opened this issue Oct 18, 2023 · 5 comments
Closed

Content-Type request headers are not excluded #20

mwittrock opened this issue Oct 18, 2023 · 5 comments
Assignees
Labels
contribution Valuable Contribution follow-up-with/dev Clarification with development needed. mission-award SAP Community mission award type/incorrect-statement Statements in the documentation are incorrect.

Comments

@mwittrock
Copy link
Contributor

mwittrock commented Oct 18, 2023

Issue description

Hi there

In the "Request Headers" section, the documentation states that Content-Type request headers will be excluded from HTTP requests, even if specified in the "Request Headers" field:

All Camel-specific headers (that starts with camel or org.apache.camel) and the below listed HTTP protocol headers are excluded even if you specify them.

(And Content-Type is in the list mentioned.)

However, if a Content-Type header is created in a Content Modifier, it is in fact included in the HTTP request to the external system. This happens regardless of whether the header is specified in the Request Headers field or not.

It seems to me that the behaviour is correct here, and that the documentation is therefore incorrect.

All the best,

Morten

Feedback Type (Optional)

other

Page Title on SAP Help Portal (prefilled)

HTTP Receiver Adapter

Page URL on SAP Help Portal (prefilled)

https://help.sap.com/docs/cloud-integration/sap-cloud-integration/http-receiver-adapter?version=Cloud

@AnnikaGonnermann
Copy link

Thank you for your feedback! We’ll look into it and come back to you if we have any questions.

@AnnikaGonnermann AnnikaGonnermann added contribution Valuable Contribution follow-up-with/dev Clarification with development needed. labels Oct 19, 2023
@sap-doc-bot
Copy link

sap-doc-bot bot commented Oct 19, 2023

Thank you for your valuable feedback contribution, @mwittrock! So that we can recognize your contribution in SAP Community, please tell us your SAP Community profile URL in a reply to this comment; don't include any other text, just the URL on its own, like this:

https://people.sap.com/your-user-name

Thanks!

@AnnikaGonnermann AnnikaGonnermann removed the contribution Valuable Contribution label Oct 19, 2023
@mwittrock
Copy link
Contributor Author

@Karunaharan
Copy link
Contributor

Hi @mwittrock ,
Morten, I'm looking into this feedback. Looks like a valid one to me as well. I'll keep you posted.

Regards,
Karuna

@Karunaharan
Copy link
Contributor

Karunaharan commented Oct 31, 2023

Hi @mwittrock,
We tested this case and your feedback is valid. We will update the documentation in a few days. Thanks again, for the feedback.

Regards,
Karuna

@AnnikaGonnermann AnnikaGonnermann added the contribution Valuable Contribution label Oct 31, 2023
@qmacro qmacro added the mission-award SAP Community mission award label Nov 6, 2023
@SrutiSagaram SrutiSagaram added the type/incorrect-statement Statements in the documentation are incorrect. label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Valuable Contribution follow-up-with/dev Clarification with development needed. mission-award SAP Community mission award type/incorrect-statement Statements in the documentation are incorrect.
Projects
None yet
Development

No branches or pull requests

5 participants