0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-11 22:59:41 -04:00
Commit graph

55 commits

Author SHA1 Message Date
Yoshiya Hinosawa
44efefbda6 Ignore error of writing responses to aborted requests ()
Original: 826deb1012
2019-07-28 11:35:47 +00:00
Nayeem Rahman
ad6360edf9 Make shebangs Linux compatible ()
Original: 5e77e8adc7
2019-07-28 11:10:29 +00:00
Yoshiya Hinosawa
9a01d6455e Upgrade to v0.11.0 (update Reader interface) ()
Original: 3ea90d54f6
2019-07-07 15:20:41 -04:00
Phil Rukin
6d4473324f Update instructions to install file server ()
Original: 9e5473a502
2019-06-29 10:30:01 -04:00
Axetroy
cd7ed28c36 file server should order filenames ()
Original: 1365d287bc
2019-06-22 07:52:56 -07:00
Axetroy
c85b1c06a9 lint: add max line length rules ()
Original: b04fda30c8
2019-06-18 21:22:01 -07:00
Ryan Dahl
87d3b9b5cc upgrade: deno to v0.8.0 ()
Original: 86b7499e65
2019-06-09 21:42:06 -04:00
Xin Du (Clark)
35cb4d0d13 fix typos ()
Original: 2acaf5adb9
2019-05-31 08:39:05 -04:00
Bartek Iwańczuk
50a79584cb chore: Implement strict mode ()
Original: be24677d15
2019-05-30 08:59:30 -04:00
Vincent LE GOFF
c8ac9a0f58 http: add rfc7230 handling ()
Original: 1db594d5b0
2019-05-29 10:44:14 -07:00
Bert Belder
b95f79d74c io: refactor BufReader/Writer interfaces to be more idiomatic ()
Thanks Vincent Le Goff (@zekth) for porting over the CSV reader
implementation.

Fixes: 

Original: 0ee6334b69
2019-05-29 09:50:12 -07:00
Bardia Rastin
5b37b560fb add "run" to file server alias ()
Original: 4078e9b24d
2019-05-27 17:56:10 -04:00
Vincent LE GOFF
8d94f70bef http: add ParseHTTPVersion ()
Original: 438178541e
2019-05-25 19:22:30 +03:00
Stoyan Dimkov
73f7be6ae0 Fix http README examples ()
Some cosmetic fixes to the provided examples in the http README:
- Ensure they're all actually runnable
- Use clear variable names
- Add usage of Cookie interface
Original: b9b25b8b17
2019-05-23 19:05:00 +03:00
Vincent LE GOFF
632fbd7734 http: fix content-length checking ()
Original: ce4e3ccdc3
2019-05-23 18:59:34 +03:00
Aurélien Bertron
a4346a3ac9 http: send an empty response body if none is provided ()
Fixes: 

Original: e00e3fe33a
2019-05-22 19:33:17 -07:00
Vincent LE GOFF
3cfc1244d8 http: make server handle bad client requests properly ()
Original: 7620fe1a82
2019-05-22 16:28:03 -07:00
Yuqing Chen
e2debab359 fix(fileserver): wrong url href of displayed files ()
Original: be6cd35cbf
2019-05-22 15:58:20 -07:00
Vincent LE GOFF
de713ea871 http: delete conn parameter in readRequest ()
To bring it inline with Go API
Original: 209183e248
2019-05-22 09:30:10 -04:00
Ryan Dahl
7c4e973611 Bump v0.6.0 ()
Original: 47134db9f2
2019-05-21 02:44:36 -04:00
Bert Belder
16e52ee4b0 Move collectUint8Arrays() to util/async.ts, clean up, fix bugs, add tests
Original: dcad420b92
2019-05-20 17:53:01 -07:00
Bert Belder
79c88a46bb http: remove unnecessary await in listenAndServe()
Original: d1971241d9
2019-05-20 17:44:58 -07:00
Ryan Dahl
a295bb0d42 Clean up HTTP async iterator code ()
Original: 68faf32f72
2019-05-20 09:17:26 -04:00
Ryan Dahl
592e90c3c2 http_bench: print address ()
Original: f10ea7317e
2019-05-14 17:49:53 -04:00
Jun Kato
7cc80064f0 fix(http): Skip 0 chunks when writing body ()
Original: 79d5f556ba
2019-05-14 17:28:15 -04:00
Bartek Iwańczuk
02bd7e956e bump CI to v0.4.0 ()
Original: 2ad643d296
2019-05-04 11:33:50 -04:00
Vincent LE GOFF
a814cfc3e1 http/cookie: fixing equal character split ()
Original: 8503efc8f7
2019-04-29 07:49:50 -07:00
Vincent LE GOFF
ce101a0f86 http: Cookie improvements ()
Original: f111469103
2019-04-27 16:07:11 -07:00
Vincent LE GOFF
dcd01dd025 Eslint fixes ()
Make warnings fail
Original: 4543b563a9
2019-04-24 07:41:22 -04:00
Vincent LE GOFF
e1f7a60bb3 http : Add cookie module ()
Original: 1d85447886
2019-04-24 07:38:52 -04:00
Axetroy
b062300270 fix ts warning for http/server_test.ts ()
Original: f7ff14b6fd
2019-04-19 11:25:44 -04:00
Kevin (Kun) "Kassimo" Qian
236cedc7cb Enforce HTTP/1.1 pipeline response order ()
Original: 144ef0e08d
2019-04-13 15:23:56 -04:00
Yoshiya Hinosawa
985386228b refactor: update for flag change in the next version ()
Original: b6c7291181
2019-04-07 20:30:45 -04:00
Kevin (Kun) "Kassimo" Qian
9d1e24b67b Remove await from respond in http_bench.ts ()
Original: 1ea76ca797
2019-04-07 03:58:01 +03:00
Vincent LE GOFF
4ac66ec640 Test reorganization ()
Original: 0bb040e8d4
2019-03-18 12:49:54 -04:00
Yoshiya Hinosawa
f124e64526 fix: eslint errors ()
Original: 61af419bbc
2019-03-12 01:51:51 -04:00
Eugen Cazacu
1870a8ec72 Eslint Fix http ()
Original: 2153fd2646
2019-03-09 11:46:53 -05:00
Eugen Cazacu
3761d41d32 http: add return types ()
Original: 84f9fe0649
2019-03-08 13:04:02 -05:00
Yoshiya Hinosawa
f90f62fa52 Use Deno global var instead of built-in "deno" module ()
Original: 395392912d
2019-03-07 19:25:16 -05:00
Ryan Dahl
caa383a583 Rename assertEq to assertEquals ()
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
Original: 4cf39d4a14
2019-03-06 19:42:24 -05:00
Vincent LE GOFF
e36edfdb3f Testing refactor ()
Original: e1d5c00279
2019-03-06 16:39:50 -05:00
Andy Hayden
d29957ad17 Replace deno.land/x/ with deno.land/std/ ()
Original: 0fc13fffbd
2019-03-06 10:24:53 -05:00
Bert Belder
2ba7de2d04 Change import { x } from "deno" to const { x } = Deno ()
Original: 6063378a92
2019-02-26 00:35:50 -05:00
Ryan Dahl
a7bf191353 Fix import in http_bench.ts ()
Original: d441a7dbf0
2019-02-24 13:53:13 -08:00
Ryan Dahl
d63a2e0224 Revert "Redesign of http server module ()"
We need to consider the API changes here more carefully.

This reverts commit da188a7d30.
and commit 8569f15207.

Original: 57c9176b19
2019-02-19 13:18:41 -05:00
Yusuke Sakurai
bdeb6c43af fix: url match logic of http server ()
Original: da188a7d30
2019-02-18 18:32:31 -05:00
Yusuke Sakurai
57f4e6a864 Redesign of http server module ()
Original: 8569f15207
2019-02-15 11:03:57 -05:00
Yusuke Sakurai
ed20bda6ec refactor: make acceptWebSocket independent from ServerRequest ()
Original: 88ddd5677d
2019-02-10 18:45:24 -05:00
Ryan Dahl
fa3f8cf67b Bump CI to v0.2.11 ()
Original: 1abdc2efc0
2019-02-09 15:41:05 -05:00
Dmitry Sharshakov
f113312ef2 Add missiong copyright headers ()
Original: 5440377495
2019-02-07 11:45:47 -05:00