[wp-trac] [WordPress Trac] #61812: wrong content type in error response on api.wordpress.org

WordPress Trac noreply at wordpress.org
Fri Aug 2 21:53:47 UTC 2024


#61812: wrong content type in error response on api.wordpress.org
--------------------------------+--------------------------------
 Reporter:  hadmut              |       Owner:  (none)
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:
Component:  WordPress.org Site  |     Version:
 Severity:  normal              |  Resolution:  reported-upstream
 Keywords:                      |     Focuses:
--------------------------------+--------------------------------

Comment (by hadmut):

 BTW,

 it should not reply with a 200 code and then spit out "error". If it is an
 error, use an error code. And maybe be somewhat talkative about the nature
 of the error.

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


More information about the wp-trac mailing list