[wp-trac] [WordPress Trac] #16158: 3.0.4 Upgrade failed on localhost testbed, successful on public site
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 8 22:48:23 UTC 2011
#16158: 3.0.4 Upgrade failed on localhost testbed, successful on public site
-------------------------------------------------+-------------------------
Reporter: dturvene | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: HTTP | Review
Severity: normal | Version: 3.0.1
Keywords: reporter-feedback has-patch dev- | Resolution:
feedback |
-------------------------------------------------+-------------------------
Changes (by garyc40):
* keywords: => reporter-feedback has-patch dev-feedback
Comment:
Just in case a response code is 200, and a HTML response body is returned
(due to some sort of error or something), we should probably validate the
response body as well.
Right now the only way I can think of is checking content-type (see
patch).
Perhaps switch API to returning json in API v1.6?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16158#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list