Easier to deserialize JSON format for /remotes.json - #2
Conversation
format. Also added test for format of /remotes/remote.json.
|
Would you not still want to return the response as json with res.json? |
|
Unless I'm mistaken, res.send returns json.
|
|
Ah, I'd read this - http://stackoverflow.com/questions/19041837/difference-between-res-send-and-res-json-in-express-js though it may not still be the case. |
|
Thanks for the tip.
|
|
Thanks for the pull request! Made two inline comments about some global leaks in the tests, otherwise looks good. |
|
@joe-forbes - If you add the |
|
Sorry about the delay - I misunderstood your message of Dec. 14 and am just Joe On Tue, Dec 24, 2013 at 11:30 AM, Alex Bain notifications@github.comwrote:
|
|
Cannot be cleanly merged, closing for now. Feel free to rebase and reopen. Thank you! |
Hope this pull request is cleaner than last. Sorry I forgot to disable DEVELOPER_MODE on the first commit.