[wp-trac] [WordPress Trac] #43605: Add HTTP/1.0 emulation to apiRequest()

WordPress Trac noreply at wordpress.org
Thu Mar 22 05:32:26 UTC 2018


#43605: Add HTTP/1.0 emulation to apiRequest()
-------------------------+-------------------------
 Reporter:  pento        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  5.0
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:  rest-api     |
-------------------------+-------------------------
 HTTP/1.1 is nice, but the verbs are fairly strictly filtered by a bunch of
 web application firewalls.

 For wider compatibility, we should default to HTTP/1.0, making use of the
 `X-HTTP-Method-Override` header.

 See https://github.com/WordPress/gutenberg/pull/5741 for an example shim,
 and examples of broken sites.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43605>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list