[wp-trac] [WordPress Trac] #49404: WP_REST_Request->parse_json_params only supports 'application/json'

WordPress Trac noreply at wordpress.org
Wed Feb 12 12:28:25 UTC 2020


#49404: WP_REST_Request->parse_json_params only supports 'application/json'
--------------------------+------------------------------
 Reporter:  pfefferle     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by pfefferle):

 JSON Content-(Sub)Type examples:

 ActivityPub https://www.w3.org/TR/activitypub/
   * application/ld+json
   * application/activity+json
   * application/ld+json; profile="https://www.w3.org/ns/activitystreams"
 JF2Feed https://www.w3.org/TR/jf2/
   * application/jf2feed+json
 JSON Web Signature (JWS) https://tools.ietf.org/html/rfc7515
   * application/jose+json
 WebFinger https://tools.ietf.org/html/rfc7033
   * application/jrd+json

 Here is the complete list: https://www.iana.org/assignments/media-types
 /media-types.xhtml#application

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


More information about the wp-trac mailing list