Make WordPress Core

Changeset 57086

Timestamp:
11/08/2023 07:46:00 PM (9 months ago)
Author:
desrosj
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.

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

Location:
trunk/src/wp-includes/Requests/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/Requests/src/Requests.php

    r56554 r57086  
    149149     * @var string
    150150     */
    151     const VERSION = '2.0.8';
     151    const VERSION = '2.0.';
    152152
    153153    /**
  • trunk/src/wp-includes/Requests/src/Transport/Curl.php

    r56554 r57086  
    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.