Make WordPress Core


Ignore:
Timestamp:
05/11/2021 07:40:41 PM (4 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/Response/Headers.php

    r46586 r50842  
    2222     *
    2323     * @param string $key
    24      * @return string Header value
     24     * @return string|null Header value
    2525     */
    2626    public function offsetGet($key) {
     
    5959     *
    6060     * @param string $key
    61      * @return array Header values
     61     * @return array|null Header values
    6262     */
    6363    public function getValues($key) {
Note: See TracChangeset for help on using the changeset viewer.