Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#9093 closed defect (bug) (fixed)

XML-RPC error message Content-Type

Reported by: jidanni's profile jidanni Owned by: josephscott's profile 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)

wp-includes--class-IXR.php.diff (496 bytes) - added by josephscott 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @jidanni
15 years ago

  • Component changed from HTTP to XML-RPC
  • Owner set to josephscott

#2 @josephscott
15 years ago

Simple patch to make the content type of the error message text/plain instead of text/html.

#3 @jacobsantos
15 years ago

  • Keywords has-patch commit added

#4 @westi
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10571]) Set the correct header for non POST request to xmlrpc service. Fixes #9093 props joesphscott.

Note: See TracTickets for help on using tickets.