Request with User-Agent header value containing MSIE 6.0 and response is having connection: close
POST https://test.solutions/ConfigurationManager.asmx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 4.0.30319.42000)
Content-Type: text/xml; charset=utf-8
SOAPAction: “GetApplicationManagerConfig”
Host: test.solutions
HTTP/1.1 503 Service Unavailable
Date: Thu, 06 Jul 2023 19:47:41 GMT
Content-Type: application/json
Content-Length: 279
Connection: close
{“Envelope”:{“encodingStyle”:“http://schemas.xmlsoap.org/soap/encoding/”,“Body”:{“Fault”:{“faultcode”:“soap:Server”,“faultstring”:“The Service is temporarily unavailable”,“faultactor”:{},“detail”:{“source”:{“errorcode”:“messaging.adaptors.http.flow.ServiceUnavailable”}}}}}}
Request without the User-Agent value and response is having connection: keep-alive
Also, Request without the most recent browser User-Agent value and response is having connection: keep-alive
POST https://test.solutions/ConfigurationManager.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: “GetApplicationManagerConfig”
Host: test.solutions
HTTP/1.1 503 Service Unavailable
Date: Thu, 06 Jul 2023 19:47:41 GMT
Content-Type: application/json
Content-Length: 279
Connection: keep-alive
{“Envelope”:{“encodingStyle”:“http://schemas.xmlsoap.org/soap/encoding/”,“Body”:{“Fault”:{“faultcode”:“soap:Server”,“faultstring”:“The Service is temporarily unavailable”,“faultactor”:{},“detail”:{“source”:{“errorcode”:“messaging.adaptors.http.flow.ServiceUnavailable”}}}}}}
Have anyone noticed this behavior and knows the reason why Apigee Edge v4.51 is returning “connection: close” in the response http header when the user-agent string of HTTP request header contains “MSIE 6.0” ?
By changing it to different value or by removing it, Apigee returns response with “Connection: keep-alive”.
Also, What are all the User-Agent values Apigee 45.1 OPDK supports? Are there any ways to ignore the user-agent value or change the behavior to return Connection: keep-alive for user-agent string containing “MSIE 6.0”.