constant RequestOptions::EXPECT in Lockr 7.3
expect: (bool|integer) Controls the behavior of the "Expect: 100-Continue" header.
Set to `true` to enable the "Expect: 100-Continue" header for all requests that sends a body. Set to `false` to disable the "Expect: 100-Continue" header for all requests. Set to a number so that the size of the payload must be greater than the number in order to send the Expect header. Setting to a number will send the Expect header for all requests in which the size of the payload cannot be determined or where the body is not rewindable.
By default, Guzzle will add the "Expect: 100-Continue" header when the size of the body of a request is greater than 1 MB and a request is using HTTP/1.1.
File
- vendor/
guzzlehttp/ guzzle/ src/ RequestOptions.php, line 111
Class
- RequestOptions
- This class contains a list of built-in Guzzle request options.
Namespace
GuzzleHttpCode
const EXPECT = 'expect';