Opened 16 years ago
Closed 16 years ago
#9093 closed defect (bug) (fixed)
XML-RPC error message Content-Type
Reported by: | jidanni | Owned by: | josephscott |
---|---|---|---|
Milestone: | 2.8 | Priority: | lowest |
Severity: | trivial | Version: | |
Component: | XML-RPC | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
No big deal, but
$ wwwoffle -O http://localhost/articles/xmlrpc.php HTTP/1.0 200 OK Date: Wed, 11 Feb 2009 00:49:58 GMT Server: Apache/2.2.11 (Debian) PHP/5.2.6-3 with Suhosin-Patch X-Powered-By: PHP/5.2.6-3 Content-Type: text/html Connection: close Proxy-Connection: close XML-RPC server accepts POST requests only.
shouldn't the Content-Type be text/plain for this message? (Or use
HTML formatting.)
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Simple patch to make the content type of the error message text/plain instead of text/html.