with HAP 1.8 version we have following reqrep directive in backend section
acl isithttp10 var(txn.http10) -m beg 1.0 # identifies request with HTTP/1.0 version
reqrep ^(.*)\ HTTP/[^\ ]+$ \1\ HTTP/1.1 if isithttp10 # sets HTTP/1.1 in backend section for HTTP/1.0
With 2.1 and above “reqrep” directive has been deprecared and we are having issues to have same re-write functionality in 2.4 version. need help to achieve this with 2.4
Sample:
Frontend Logs:
POST /test/testService HTTP/1.0
Host: test-prd01.com
User-Agent: curl/7.77.0
Accept: /
Content-Type: application/json
soapAction: “testFunction”
Content-Length: 931
Backend logs:
POST /test/testService HTTP/1.1
Host: test-final.com
User-Agent: curl/7.77.0
Accept: /
Content-Type: application/json
soapAction: “testFunction”
Content-Length: 931
1 post - 1 participant