By alexpott on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.7.x
Introduced in version:
8.7.0-alpha1
Issue links:
Description:
With the update to Guzzle 6.3 Drupal's http_client service now supports empty headers.
$request_options = [
RequestOptions::HEADERS => [
'content-disposition' => '',
],
];
$client->request('GET', 'http://www.drupal.org', $request_options);
Before
The code above would not sent the content-disposition header.
After
A content-disposition header will be sent with an empty value.