Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Conversation

@rmccue
Copy link
Member

@rmccue rmccue commented Nov 21, 2014

Updates #507 from @Japh for 2.0.

Fixes #370.

Thanks to @Japh on #507 for the original patch, and to WP.com for
inspiration.
@rmccue
Copy link
Member Author

rmccue commented Nov 21, 2014

@WP-API/amigos #reviewmerge

@rmccue rmccue mentioned this pull request Nov 21, 2014
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hate all of these magic request arguments. There's no better way to do this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this as a bit of a impossible argument - how do you expect to specify something in a space where anyone can specify anything and eradicate the possibility of conflicts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed; we have a finite space here to operate in. Let's break this to another discussion (#634).

@danielbachhuber
Copy link
Member

We can take the magic request arguments to another discussion, but this should have tests.

@rmccue
Copy link
Member Author

rmccue commented Nov 22, 2014

Good point on the tests, will do.

@rmccue rmccue self-assigned this Nov 22, 2014
@rmccue rmccue removed the Review label Nov 22, 2014
@rmccue
Copy link
Member Author

rmccue commented Dec 4, 2014

Tests added, let's go-go-go @WP-API/amigos.

@rmccue rmccue added the Review label Dec 4, 2014
@danielbachhuber
Copy link
Member

Good first pass at #679

danielbachhuber added a commit that referenced this pull request Dec 4, 2014
Add ability to wrap response in an envelope
@danielbachhuber danielbachhuber merged commit 47fa439 into develop Dec 4, 2014
@danielbachhuber danielbachhuber deleted the two-http-envelope branch December 4, 2014 23:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to get status as different header (support HTTP envelope)

4 participants