Skip to content

Support fror QUERY HTTP method #1074

Description

@dingo-d

Is your feature request related to a problem?

This is a placeholder issue for adding a new feature to the Requests library.

New HTTP verb QUERY landed in June this year (https://www.rfc-editor.org/info/rfc10008/).

It's similar to GET, but can have a request body (like POST).

Describe the solution you'd like

Requests should add this method to the constant list, and associated method in Requests.php, alongside with any other necessary code for it.

Additional context (optional)

Associated WP trac ticket: https://core.trac.wordpress.org/ticket/65616

I haven't delved deeply into Requests, so I am not 100% sure what needs to be added besides constants and methods, but I can create a PR if necessary for it.

  • I intend to create a pull request to implement this feature myself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions