Accept-Encoding Header Setting in Request | Content-Encoding Header Setting in Response | Original Content by Native Service | Mediator Behavior |
gzip | not set | not encoded | Dynamically zips the response with Content-Encoding header set to gzip. |
gzip,deflate compress;q=0.5, gzip;q=1.0 | not set | not encoded | Dynamically zips the response with Content-Encoding header set to gzip. |
* (any) | not set (or any encoding other than gzip) | not set (or any encoding other than gzip) | Passes the response to client (does not zip or unzip), with Content-Encoding set to the original content-encoding from the native service. |
* (any) | gzip | encoded | Passes the zipped response to the client, with Content-Encoding set to gzip. |
gzip | gzip | encoded | Passes the zipped response to client, with Content-Encoding set to gzip. |
NULL (no encoding) | gzip | encoded | Unzips the content and removes the header, with Content-Encoding set to NULL. |
NULL (no encoding) | null | not encoded | Passes the unzipped native service response to the client, with Content-Encoding set to NULL. |
Accept-Encoding Header Setting in Request | Content-Encoding Header Setting in Response | Original Content by Native Service | Mediator Response |
gzip | not set | encoded | Exception occurs and errors are logged. |
gzip | gzip | not encoded | Exception occurs and errors are logged. |
gzip,deflate compress;q=0.5, gzip;q=1.0 | gzip | not encoded | Exception occurs and errors are logged. |
* (any) | gzip | not encoded | Exception occurs and errors are logged. |
NULL | gzip | not encoded | Exception occurs and errors are logged. |
Accept-Encoding Header Setting in Request | Content-Encoding Header Setting in Response | Original Content in Native Service | Mediator Response |
gzip or gzip,deflate compress;q=0.5, gzip;q=1.0 | any | any | 1. Mediator rejects the request from the client and not the response from the native service. In this case, the request does not go to the native service. 2. Mediator sends an uncompressed response to the client. |
Accept-Encoding Header Setting in Request | Content-Encoding Header Setting in Response | Original Content in Native Service | Mediator Response |
gzip or gzip,deflate compress;q=0.5, gzip;q=1.0 | any | any | 1. Mediator passes the request to the native service. 2. The server returns a SOAP fault. 3. Mediator compresses or uncompresses depending on the Accept-Encoding. |