Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ben Noordhuis
b62ecdc5bb
Revert 3e2a2a7
. Always send a HTTP/1.1 status line to the client.
14 years ago
Ben Noordhuis
3e8667d829
Revert 8dc8773
. Always send a HTTP/1.1 status line to the client.
14 years ago
Ben Noordhuis
3e2a2a76fd
Test cases for #1234 : don't send HTTP/1.1 responses to HTTP/1.0 clients.
14 years ago
Ben Noordhuis
222f85fdf4
Test cases for #1234 : don't send HTTP/1.1 responses to HTTP/1.0 clients.
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Oleg Efimov
093dfaf801
GJSLint all tests, only 3 long lines left in test-url.js
test/simple/test-url.js:31:(0110) Line too long (82 characters).
test/simple/test-url.js:39:(0110) Line too long (85 characters).
test/simple/test-url.js:40:(0110) Line too long (92 characters).
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Bert Belder
7059be19ec
Fix http and net tests failing due to race condition
Plus some minor cosmetic corrections
15 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
15 years ago
Ryan Dahl
8553e8a15d
Add incoming.httpVersion
15 years ago
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
15 years ago
Ryan Dahl
1b758ef268
Allow stream to write on close
15 years ago
Ryan Dahl
b80f6e9ed1
http2 now default
15 years ago
Ryan Dahl
33d5c46e8c
All tests to use http2
15 years ago
Ryan Dahl
96f08cf05c
Work on net2 http client
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
arlolra
724ccf10df
Tests on common port.
15 years ago
Benjamin Thomas
b1b84960ce
Rename writeHeader to writeHead
15 years ago
arlolra
04fac19822
Split tests.
15 years ago
Ryan Dahl
12d78cd1df
Rename sendHeader to writeHeader; allow reasonPhrase
15 years ago
Ryan Dahl
5013bf1781
API: OutgoingMessage.prototype.finish() renamed to close()
15 years ago
Ryan Dahl
ae85d9af97
API: Make request/response object closer to stream interface
- sendBody() renamed to write()
- 'body' event renamed to 'data'
- 'complete' event renamed to 'end'
15 years ago
Ryan Dahl
23cf502db7
API: connection.send() renamed to connection.write()
15 years ago
Ryan Dahl
bc17d94a0a
API: tcp events 'receive' to 'data', 'eof' to 'end'
No deprecation messages. Not sure how...
15 years ago
Ryan Dahl
c5d82380f4
Bugfix: Don't use chunked encoding for 1.0 requests.
http://groups.google.com/group/nodejs/browse_thread/thread/b2edb76691b1848c
15 years ago