visionmedia/superagent — pull request #388 by mbelshe (2014-05-26 07:30:29+00:00)
Title: Add support for JWT tokens in the agent.

I had a need to modify superagent for my own service which moved away from cookies to JWT tokens. When implemented, clients will manually set client headers on all requests to authenticate. I don't think this is one-off behavior, but if you think so, feel free to nix the patch. I have yet to find anyone doing reasonable unit testing of apps that use JWT style tokens.