[wp-trac] [WordPress Trac] #38733: REST API: Maintenance Mode sends HTML in request.

WordPress Trac noreply at wordpress.org
Wed Nov 9 19:18:17 UTC 2016


#38733: REST API: Maintenance Mode sends HTML in request.
-------------------------------+-----------------------
 Reporter:  TimothyBlynJacobs  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.7
Component:  General            |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:  rest-api
-------------------------------+-----------------------

Comment (by joehoyle):

 I don't think this is a big deal, I think this is akin to something like
 NGINX throwing a 502 error page is PHP is not available, etc - in these
 cases, clients have to handle non-json responses at the level above
 WordPress "normal" responses.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38733#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list