WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #18982


Ignore:
Timestamp:
10/18/11 08:35:06 (4 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18982

    • Property Status changed from new to accepted
  • Ticket #18982 – Description

    initial v2  
    1 WP_Http::request() ignores the Content-Type in headers. 
     1If the body argument is offered up to WP_HTTP in the form of an Array or Object, It'll overwrite any Content-Type headers which were specifically set. 
     2 
     3We should respect all the headers which Developers pass to WP_HTTP (A notable exception would be the Content-Length header when an object/array is passed).