koichik
752ac320ae
https: make https.get() accept a URL
https.get() now accepts either a URL (as a string) or an options object.
Refs #2859 .
Fixes #3882 .
13 years ago
Fedor Indutny
e43fe5c833
Revert "http/https: pass request to .createConnection()"
This reverts commit 53716eb0b5
.
13 years ago
Fedor Indutny
53716eb0b5
http/https: pass request to .createConnection()
It's useful for passing some additional options of request object to the
underlying API
13 years ago
Dmitry Nizovtsev
1e9bcf26ce
net, http, https: add localAddress option
Binds to a local address before making the outgoing connection.
13 years ago
Maciej Małecki
da908364a8
tls http https: don't pollute user's `options` object
13 years ago
isaacs
0cdf85e28d
Lint all the JavaScripts.
13 years ago
Maciej Małecki
df0edf5fe6
https: make `https` use new `tls.connect` API
Refs #1983 .
13 years ago
seebees
005d607aed
http.request(url.parse(x))
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
13 years ago
Ben Noordhuis
bc7cfd7cd7
http: remove legacy http library
13 years ago
Fedor Indutny
9010f5fbab
Add support for TLS SNI
Fixes #1411
14 years ago
Ben Noordhuis
2ed23314c3
http: make http and http2 co-exist
http2 is currently disabled pending addition of a --use-http2 switch
14 years ago
Mikeal Rogers
2b929c7f19
http: http2 implementation
14 years ago
Mark Cavage
a2328dc73c
Add support for Unix Domain Sockets to HTTP
fixes #979 .
14 years ago
Fedor Indutny
c9b40da368
OpenSSL NPN in node.js
closes #926 .
14 years ago
isaacs
6d85da185c
Closes GH-721 Set default host header properly
However, this test is failing for some quite unrelated issue.
Getting some odd "socket hangup" crashes, and only the first request
ever makes it to the server.
14 years ago
Ryan Dahl
24f9bf4180
expose https.Agent
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
448e0f4394
tls fixes
14 years ago
Mikeal Rogers
2b03ba5917
http: agent takes options instead of host, port pair
14 years ago
Mikeal Rogers
8d37f80f4b
Expose agent in http and https client.
14 years ago
Ryan Dahl
b9574b995f
Expose http.getAgent
14 years ago
Ryan Dahl
db8736ad93
Add https.get()
14 years ago
Ryan Dahl
e65f6b4ce1
Initial pass at https client
14 years ago
Ryan Dahl
94f8368cf9
First pass at new https server
14 years ago