SAP-docs / btp-integration-suite

Markdown source for the Integration Suite documentation. Enables feedback and contributions to improve the documentation.
Creative Commons Attribution 4.0 International
9 stars 13 forks source link

Content-Type request headers are not excluded #20

Closed mwittrock closed 8 months ago

mwittrock commented 8 months ago

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 commented 8 months ago

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

sap-doc-bot[bot] commented 8 months ago

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!

mwittrock commented 8 months ago

https://people.sap.com/mnw

Karunaharan commented 8 months ago

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 commented 8 months ago

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