Adam Malcontenti-Wilson
4099d1eeba
http: make http.get() accept a URL
http.get() now accepts either a URL (as a string) or an options object.
13 years ago
isaacs
1858d1c340
Document http.STATUS_CODES
This is an incredibly useful thing to know about, and it
will likely never change. I can't remember why we
didn't ever document it, and people keep suggesting we
do so.
13 years ago
koichik
9f3c639a9c
doc: fix setEncoding()
Fixes #3209 .
13 years ago
Kyle Robinson Young
c9e6d3696c
doc: typo fixes
13 years ago
Kyle Robinson Young
491c8d92b8
doc: add deprecated function http.createClient()
Appears in a lot of old code and core tests. Documented to show it
is deprecated.
Closes #1613 .
13 years ago
Erik Dubbelboer
3d69bbfa87
net, http: add backlog parameter to .listen()
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
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
7bfa5cf284
s/streams/stream/
13 years ago
isaacs
674416fbc9
s/buffers/buffer/
13 years ago
isaacs
4f24b20fcb
doc refactor: http
13 years ago
isaacs
f9df88c6da
s/streams/stream/
13 years ago
isaacs
f9e464f95a
s/buffers/buffer/
13 years ago
isaacs
02e288b640
doc refactor: http
13 years ago
Ben Noordhuis
90fd70d284
docs: fix http.ClientRequest.write() documentation
'an array of integers' == very, very deprecated
13 years ago
Mikeal Rogers
d530ee62cd
Issue #2762 . Add callback to close function.
13 years ago
Mark Nottingham
1e425e3fa7
Generate Date headers on responses when not already present.
13 years ago
Ben Noordhuis
a8f357629d
docs: clarify http 'data' callback
Fixes #2733 .
13 years ago
koichik
a2cd31cbf1
doc: add the note about 'data' event
Refs #2691 .
13 years ago
Fedor Indutny
8a98c2f1d8
http, querystring: added limits to prevent DoS
13 years ago
koichik
08a91acd76
http: better support for CONNECT method.
Introduces 'connect' event on both client (http.ClientRequest) and
server (http.Server).
Refs: #2259 , #2474 .
Fixes #1576 .
13 years ago
koichik
57653added
docs: small changes.
13 years ago
koichik
dd9593ccc4
http: fix ServerResponse does not emit 'close'
Refs #2453 .
13 years ago
Jeremy Martin
8c3a757ffc
docs: tiny typo in http.markdown
13 years ago
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
Fixes #2106 .
13 years ago
Ben Noordhuis
70e6f3f115
docs: document http.Server.close() semantics
13 years ago
koichik
c744e925df
doc: correct http.Server.listen()
Fixes #2325 .
13 years ago
kyle@dontkry.com
34f34e4411
docs: fix typo
Fixes #2193 .
13 years ago
Trent Mick
2cd51ef5d4
"Trailer" header should mention "Content-MD5" trailer name in this example.
Fixes #2107
13 years ago
Ben Noordhuis
1ba834bd3f
docs: http: link to relevant net.Socket methods
13 years ago
Ben Noordhuis
672b453a76
docs: http: fix docs for the 'close' event
13 years ago
koichik
00aa8935d7
docs: improvement fs, http and https
13 years ago
seebees
216570b5e1
Lint
13 years ago
seebees
a2eaddaa51
Documentation update
http.markdown
note options now align with url.parse
added note that hostname is preferred over host.
added auth
added not that setting an explicit Authorization header will override basic authentication with 'auth'
https.markdown
Made a link to http.request and noted that all http.request options are valid.
url.markdown
added path option
13 years ago
Thomas Shinnick
4cf0ce5bb4
docs: typos and minor edits in several modules
Mostly quite minor edits. Those possibly of more interest are:
emitter.setMaxListeners(n)
That the limit is per event name for an emitter.
fs.readlink()
Not a path, but rather the symbolic link's string value, which
would be at best a partial path, certainly not a 'resolvedPath'
global.__filename
This may be "well-known" but this is a full path to the module
that referencing code is running in. It is not the main program's
path, unless you are in the main program. Each module knows only
its own path.
server.listen(port,...)
I actually needed this functionality... "gimme just _any_ next port"
stream.end()
stream.destroy()
Yeah, everybody knows what happens to the queued data, but let's
make it *really* explicit for the first readers.
14 years ago
Mikeal Rogers
cdbecc48a1
docs: Improved http2 agent docs
Fixes #1517 .
14 years ago
koichik
c72223e2a9
Doc improvements
related to #1391 , #1415 .
14 years ago
Mikeal Rogers
915fa1e44f
doc: http2 documentation
14 years ago
koichik
691497babe
Doc improvements
corresponds to #1374 and #1334 .
14 years ago
koichik
e8bc80cf15
Doc improvements
Fixes #1334 .
14 years ago
Kip Gebhardt
7097eca5a7
Adding documentation for 'agent' option in http.request().
Fixes #1243 .
14 years ago
koichik
87b6dc21c8
Doc improvements
moved 'continue' event from http.Agent to http.ClientRequest.
added 'close' event to http.ClientResponse.
added 'open' event to fs.ReadStream.
Fixes #1169 .
14 years ago
David Trejo
8a0ac5b422
Add test for agent upgrade and example in docs
14 years ago
Felix Geisendörfer
9d717f6bef
Update http.ServerRequest docs
The documentation for 'end' was wrong, and 'close' now has an `err`
parameter.
14 years ago
Ryan Dahl
ad487d3226
Add on('error') to http request example
for indexzero
14 years ago
koichik
1343ee8d54
Doc improvements.
14 years ago
Mark Cavage
a2328dc73c
Add support for Unix Domain Sockets to HTTP
fixes #979 .
14 years ago
Ryan Dahl
ed316ae350
Docs: some encodings contains multibyte chars.
fixes #888
14 years ago
Ryan Dahl
0f47f63746
Fix doc - no setBodyEnocoding anymore
Thanks Frederic. Closes GH-859.
14 years ago
koichik
ca028f4b37
Fix docs: There were 2 descriptions of 'request' event.
14 years ago