Make WordPress Core

Changeset 57088


Ignore:
Timestamp:
11/08/2023 08:30:06 PM (3 years ago)
Author:
jorbin
Message:

External Libraries: Update Requests to 2.0.9.

This updates the Requests library from version 2.0.8 to 2.0.9. This is a hotfix release.

Reviewed by jorbin, desrosj.
Merges [57086] to 6.4 branch.

Props jorbin, hellofromTonya, desrosj, barry, cenkdemir, nexflaszlo, schlessera, jrf, Clorith, tomsommer, azaozz, pbiron, afragen, howdy_mcgee.
Fixes #59842.

Location:
branches/6.4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

  • branches/6.4/src/wp-includes/Requests/src/Requests.php

    r56554 r57088  
    149149         * @var string
    150150         */
    151         const VERSION = '2.0.8';
     151        const VERSION = '2.0.9';
    152152
    153153        /**
  • branches/6.4/src/wp-includes/Requests/src/Transport/Curl.php

    r56554 r57088  
    2626        const CURL_7_10_5 = 0x070A05;
    2727        const CURL_7_16_2 = 0x071002;
    28         const CURL_7_22_0 = 0x071600;
    2928
    3029        /**
     
    365364
    366365                // Force closing the connection for old versions of cURL (<7.22).
    367                 if ($this->version < self::CURL_7_22_0 && !isset($headers['Connection'])) {
     366                if (!isset($headers['Connection'])) {
    368367                        $headers['Connection'] = 'close';
    369368                }
Note: See TracChangeset for help on using the changeset viewer.