visionmedia/superagent — pull request #109 by TooTallNate (2012-08-02 22:56:45+00:00)
Title: allow query() to be called after the `req` has been created

This makes code like this work as expected:

request.get('http://google.com')
.set('some', 'header')
.query({ foo: 'bar' });

It relies on the "path" property of the node request object, which is mutable
up until the HTTP headers get flushed.