Hi all,
I’m trying to use a web request but receive an error message.
It seems that easymorph adds by default in header the “Expect:100-continue” value.
Could you please let me know if this is true and how can I avoid this?
The Expect header is part of the HTTP protocol for requests with the body such as POST or PUT. It’s a low-level detail of the protocol implementation. A webserver must accept it and process it correctly.
However, it appears that your proxy (Apache with mod_proxy?) is either outdated or incorrectly configured. There was a bug in mod_proxy that rejected the Expect header, so maybe your proxy hasn’t been updated.
I would be reluctant to add a new setting to EasyMorph to deal with incorrectly configured webservers or proxies. Therefore, I suggest trying the following:
Try sending web requests via another proxy (if the proxy is in your network), if possible.
Contact the owners of the proxy (webserver) and ask them to resolve the problem on their end by updating their software or configuring it properly.
As the last resort, add the following section to your Morph.exe.config file: