summaryrefslogtreecommitdiff
path: root/test/simple/test-http-url.parse-auth.js
Commit message (Collapse)AuthorAgeFilesLines
* test: update HTTP basic auth testBen Noordhuis2012-02-201-2/+3
| | | | | Verify that URL-encoded entities are properly encoded into the Authorization header.
* Lintseebees2011-10-221-2/+1
|
* http.request(url.parse(x))seebees2011-10-221-0/+46
http2.js protocols object to store defaults for http and https, and use as a switch for supported protocols. options.hostname > options.host > 'localhost' if I have an options.auth element and I do not have an Authorization header, I do basic auth. http.request collapses to new ClientRequest since the defaults are handled by the protocol object test-http-url.parse* Fixes #1390 Conflicts: lib/http2.js