Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4733

Set request method to POST and compute content-length

$
0
0

Hi Everyone, I am trying to do SSL termination for a web application that was incorrectly setup not to support HTTPS, problem is that I need to change one specific request from GET to POST but the end web application is expecting a Content-Length header otherwise outputs HTTP Status 411.

I did try to set Content-Length header but if length provided is too small I get HTTP 400 if the length provided is too big the request is stuck (obviously).

Would there be any way of computing that Content-Length field and populate with set-header or add-header?

Thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4733


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>