411 Length Required response — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood: Oracle Cloud SCM and Purchasing

411 Length Required response

edited Jun 4, 2019 4:28PM in Visual Builder 2 comments

Summary

Length required in POST request. Content-Length header seems to be stripped by proxy

Content

I'm sending a POST request to the following service using basic authentication.

https://cegbusc-p6.oracleindustry.com/sync/rest-service/dataservice/runquery?configCode=syncP6

I receive the following response:

 "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
 "status": 411,
 "title": "Length Required",

When checking the response header it seems that content-length is not a permitted header when using the proxy.

vbcs-proxy-blocked-headers: Content-Length

Is this in fact the case and is there any way around this issue?

NOTE:  I am able to successfully POST this request through Postman.  It adds the content-length header by default.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!