Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harden the HTTP response #47

Closed
jasonbahl opened this issue Feb 22, 2017 · 0 comments
Closed

Harden the HTTP response #47

jasonbahl opened this issue Feb 22, 2017 · 0 comments
Labels
Architecture Type: Enhancement New feature or request
Milestone

Comments

@jasonbahl
Copy link
Collaborator

jasonbahl commented Feb 22, 2017

Check out possibly using WP_HTTP_Response for returning a response vs. process_http_request

Some links for reference:

public function process_http_request() {

https://developer.wordpress.org/reference/classes/wp_http_response/

https://github.com/WordPress/WordPress/blob/b6ce4e283080332525bb276e2bacaf566c4a9b5c/wp-includes/rest-api.php#L462

@jasonbahl jasonbahl added this to the Stable milestone Feb 22, 2017
@jasonbahl jasonbahl added the Type: Enhancement New feature or request label Feb 22, 2017
@CodeProKid CodeProKid modified the milestones: Pre Merge, Stable Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants