Make WordPress Core


Ignore:
Timestamp:
05/11/2021 07:40:41 PM (3 years ago)
Author:
desrosj
Message:

External Libraries: Update the Requests library to version 1.8.0.

While some of the changes in the 1.8.0 release have already been copied to WordPress Core in earlier releases (see [38727], [46258], [47902] and [49382]), this release contains additional improvements, including:

  • A significant performance fix when using cURL.
  • Improved compliance with RFC2616.

The library has also been moved under the WordPress project’s GitHub organization and can now be found at https://github.com/WordPress/Requests.

Props jrf, dd32, rmccue, justinahinon, netweb, schlessera, TimothyBJacobs, soulseekah, ozh, skithund, carlalexander, travisnorthcutt, desrosj.
Fixes #53101.

File:
1 edited

Legend:

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

    r46586 r50842  
    4747     *
    4848     * @param string $key Item key
    49      * @return string Item value
     49     * @return string|null Item value (null if offsetExists is false)
    5050     */
    5151    public function offsetGet($key) {
     
    7171        }
    7272
    73         $key = strtolower($key);
     73        $key              = strtolower($key);
    7474        $this->data[$key] = $value;
    7575    }
Note: See TracChangeset for help on using the changeset viewer.