Traffic Server Client Request and Response API Functions
Classified in Computers
Written on in English with a size of 5.13 KB
Traffic Server Client Request and Response API Functions
This document describes the Traffic Server API functions related to client requests and responses.
Client Request Functions
Function | Description |
---|---|
ts.client_request.get_method | Retrieves the current client request's method name. Returns a string like "GET" or "POST". |
ts.client_request.set_method | Overrides the current client request's method with METHOD_NAME. |
ts.client_request.get_version | Returns the HTTP version string of the client request. |
ts.client_request.set_version | Sets the HTTP version of the client request with the VERSION_STR. |
ts.client_request.get_uri | Retrieves the client request's path. |
ts.client_request.set_uri | Overrides the client request's path. |
ts.client_request.get_uri_args | Retrieves the client |