Skip to content

Add status and json to response Issue #11#12

Open
justhamade wants to merge 6 commits into
TGOlson:masterfrom
fingerfoodstudios:master
Open

Add status and json to response Issue #11#12
justhamade wants to merge 6 commits into
TGOlson:masterfrom
fingerfoodstudios:master

Conversation

@justhamade

Copy link
Copy Markdown

Resolves #11
Thanks to @SeanCannon

@TGOlson

TGOlson commented Feb 10, 2016

Copy link
Copy Markdown
Owner

@justhamade looks good - are there any tests we can add to verify this does what we expect it to?

As an aside, I'm happy the lean on Request.prototype.extendRes and various patches to resolve these issues, but we are quickly moving towards a need for a must more robust mock request/response objects. That's something to consider in the future.

@justhamade

Copy link
Copy Markdown
Author

Thanks for looking at the PR. I will write some tests as soon as I have time. One issue is that it may break backwards compatibility and not sure how you want to handle that.

@TGOlson

TGOlson commented Feb 11, 2016

Copy link
Copy Markdown
Owner

What change breaks backwards compatibility?

@nguyenchr

Copy link
Copy Markdown
Contributor

+1 for this functionality, how are those tests coming along?

@justinffs

Copy link
Copy Markdown

Have not gotten around to writing them, not sure if I will have time.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants