mbrevoort / node-reggie

An experimental light weight alternative to a full blown npm registry
416 stars 50 forks source link

Changed order of res.send. #34

Closed paolodm closed 11 years ago

paolodm commented 11 years ago

Restify api specifies statusCode should come first, as in:

res.send(500, err)

Reference: http://mcavage.me/node-restify/#Response-API

Closes #30.

bajtos commented 11 years ago

Landed as 5bf7ebc0. Thank you!