...
embedded.connector.maxHttpHeaderSize | Specify the maximum size of the request and response HTTP header (bytes). If not specified, this attribute is set to 8192 (8 KB). |
---|---|
embedded.connector.parseBodyMethods | Specify HTTP methods to use when parsing request bodies for request parameters identically to POST, especially when you want to support POST-style semantics for PUT requests. Comma separate entries. TRACE is forbidden. The default is POST . |
embedded.connector.relaxedPathChars | Specify characters that should be allowed in URI paths in unencoded form. The value may be any combination of the following characters:
Any other characters present in the value will be ignored. If this property is not included, Tomcat will reject unencoded forms of the above characters in URI paths. Refer to the Tomcat documentation for additional information: https://tomcat.apache.org/tomcat-8.5-doc/config/http.html. |
embedded.connector.relaxedQueryChars | Specify characters that should be allowed in URI queries in unencoded form. The value may be any combination of the following characters:
Any other characters present in the value will be ignored. If this property is not included, Tomcat will reject unencoded forms of the above characters in URI queries. Refer to the Tomcat documentation for additional information: https://tomcat.apache.org/tomcat-8.5-doc/config/http.html. |
...
Code Block |
---|
X-AUTHORIZATION ANOTHER-HEADER HEADER3 |
Example: Sending Traffic to a Virtual Asset
A proxy can also send traffic to a virtual asset. In that case, enter the host and port information for the Virtualize Server as if were just another service.
For example, to send traffic to a virtual asset on a remote server, you might use:
- Proxy listen path: /pathproxyPath
- Service host: virtualize server.parasoft.com
- Service port: 9080
- Service forward path: /assetPath
To send traffic to a virtual asset on a local server using an HTTP Listener, you might use:
- Reverse Proxy: 7070
- Service host: localhost: [Virtualize]
To send traffic to a virtual asset on a local server without an HTTP Listener, you might use:
- Proxy listen path: /proxyPath
- Service host: [Virtualize]Service port: 9080
- Service forward path: /pvaassetPath
The HTTP Reverse proxy makes no distinction between a virtual asset and an actual service. Both are configured the same way. However, if the Default HTTP Reverse proxy (without an HTTP Listener) is sending to [Virtualize]
or localhost
, you must specify Service forward path because the proxy doesn't allow forwarding to itself.
...