Requests_Transport_cURL::get_expect_header( string|array $data ): string

In this article

Get the correct “Expect” header for the given request data.

Parameters

$datastring|arrayrequired
Data to send either as the POST body, or as parameters in the URL for a GET/HEAD.

Return

string The "Expect" header.

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.