[wp-trac] [WordPress Trac] #11428: WP_Http_ExtHTTP response code testing
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 6 00:55:22 UTC 2010
#11428: WP_Http_ExtHTTP response code testing
--------------------------+-------------------------------------------------
Reporter: arena | Owner: dd32
Type: defect (bug) | Status: new
Priority: high | Milestone: 3.0
Component: HTTP | Version: 2.9
Severity: major | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by hakre):
Replying to [comment:19 dd32]:
> Not in the eyes of the HTTP API, Whilst it may be an HTTP error, That
error should still be passed to the calling function - as a HTTP Request
object (Since the request was OK, just the content was missing) rather
than a WP_Error (Error condition was hit)
Please define "Error condition was hit". I do not see any error /
exception handling in WP defined/documented so I hardly doubt that with a
wishy-washy sentence like "Error condition was hit" anything is explained.
I understood you that you're talking for or against a HTTP-Error condition
was hit that should be reflected with an WP_Error or not?!?!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11428#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list