visionmedia/superagent — pull request #122 by ericmedem (2012-09-27 18:27:05+00:00)
Title: custom serialization / parsing support

Allows someone to specify a custom serializer and parser per request with:

request
.parse(myParser)
.serialize(mySerializer)

This is a little tedious if you are extending a content type, like application/json. It may be better in the long run to also add the ability to configure new parsers / serializers in the superagent module. Like:

superagent.setParse(contentType,myParser)
superagent.setSerialize(contentType,mySerializer)