If I am using the HTTPCaller to send large amounts of data to server, it adds a Expect: 100-continue in the header of the request. Our server doesn't know how to respond to that and is causing problems. Is there any way to configure the HTTPCaller to not add that header?
How to remove the Expect: 100-continue in the header when using the HTTPCaller?
Best answer by jlutherthomas
The HTTPCaller uses the libcurl library underneath, and it looks like libcurl will add the expect header when a PUT or POST is sending data over 1024mb. It also looks like if the recipient/client isn't sending a response (I'm not sure whether your server is responding at all) then it will send the data anyway after 1000ms.
From checking out this page , it looks like you can 'disable' the expect header, by including it as a header but leaving the value bank. In the HTTPCaller, try adding a header for Expect, but leave it blank by adding "" or '' - as you can't leave it blank in the transformer, it'll stay red.
That should then resolve the issue.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.


