[wp-trac] [WordPress Trac] #28919: WP_Http needs to support custom HTTP status code messages
WordPress Trac
noreply at wordpress.org
Wed Oct 8 05:18:25 UTC 2014
#28919: WP_Http needs to support custom HTTP status code messages
-------------------------+---------------------
Reporter: ragulka | Owner: dd32
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.1
Component: HTTP API | Version: 3.9.1
Severity: normal | Resolution: fixed
Keywords: | Focuses:
-------------------------+---------------------
Changes (by dd32):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"29848"]:
{{{
#!CommitTicketReference repository="" revision="29848"
Return the correct server response for the 'message' response field from
the server.
Previously this would use the generic message corresponding to the
response code, which isn't always accurate. Since we're already parsing
the headers, we can simply return that directly (This also has the benefit
that it's the same code for both Streams and Curl header handling).
Fixes #28919
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28919#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list