DOC: lua: add a note about compression w/ httpclient
Decompression is not supported by the httpclient.
This commit is contained in:
parent
83e9bcaa87
commit
a9256194b8
@ -1865,6 +1865,9 @@ HTTPClient class
|
|||||||
Send a HTTP request and wait for a response. GET, HEAD PUT, POST and DELETE methods can be used.
|
Send a HTTP request and wait for a response. GET, HEAD PUT, POST and DELETE methods can be used.
|
||||||
The HTTPClient will send asynchronously the data and is able to send and receive more than HAProxy bufsize.
|
The HTTPClient will send asynchronously the data and is able to send and receive more than HAProxy bufsize.
|
||||||
|
|
||||||
|
The HTTPClient interface is not able to decompress responses, it is not
|
||||||
|
recommended to send an Accept-Encoding in the request so the response is
|
||||||
|
received uncompressed.
|
||||||
|
|
||||||
:param class httpclient: Is the manipulated HTTPClient.
|
:param class httpclient: Is the manipulated HTTPClient.
|
||||||
:param table request: Is a table containing the parameters of the request that will be send.
|
:param table request: Is a table containing the parameters of the request that will be send.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user