1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

57 commits

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

Fixes: denoland/deno_std#436

Original: 0ee6334b69
2019-05-29 09:50:12 -07:00
Bardia Rastin
5b37b560fb add "run" to file server alias (denoland/deno_std#460)
Original: 4078e9b24d
2019-05-27 17:56:10 -04:00
Vincent LE GOFF
8d94f70bef http: add ParseHTTPVersion (denoland/deno_std#452)
Original: 438178541e
2019-05-25 19:22:30 +03:00
Stoyan Dimkov
73f7be6ae0 Fix http README examples (denoland/deno_std#440)
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 (denoland/deno_std#437)
Original: ce4e3ccdc3
2019-05-23 18:59:34 +03:00
Aurélien Bertron
a4346a3ac9 http: send an empty response body if none is provided (denoland/deno_std#429)
Fixes: denoland/deno_std#402

Original: e00e3fe33a
2019-05-22 19:33:17 -07:00
Vincent LE GOFF
3cfc1244d8 http: make server handle bad client requests properly (denoland/deno_std#419)
Original: 7620fe1a82
2019-05-22 16:28:03 -07:00
Yuqing Chen
e2debab359 fix(fileserver): wrong url href of displayed files (denoland/deno_std#426)
Original: be6cd35cbf
2019-05-22 15:58:20 -07:00
Vincent LE GOFF
de713ea871 http: delete conn parameter in readRequest (denoland/deno_std#430)
To bring it inline with Go API
Original: 209183e248
2019-05-22 09:30:10 -04:00
Ryan Dahl
7c4e973611 Bump v0.6.0 (denoland/deno_std#423)
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 (denoland/deno_std#411)
Original: 68faf32f72
2019-05-20 09:17:26 -04:00
Ryan Dahl
592e90c3c2 http_bench: print address (denoland/deno_std#374)
Original: f10ea7317e
2019-05-14 17:49:53 -04:00
Jun Kato
7cc80064f0 fix(http): Skip 0 chunks when writing body (denoland/deno_std#387)
Original: 79d5f556ba
2019-05-14 17:28:15 -04:00
Bartek Iwańczuk
02bd7e956e bump CI to v0.4.0 (denoland/deno_std#378)
Original: 2ad643d296
2019-05-04 11:33:50 -04:00
Vincent LE GOFF
a814cfc3e1 http/cookie: fixing equal character split (denoland/deno_std#368)
Original: 8503efc8f7
2019-04-29 07:49:50 -07:00
Vincent LE GOFF
ce101a0f86 http: Cookie improvements (denoland/deno_std#359)
Original: f111469103
2019-04-27 16:07:11 -07:00
Vincent LE GOFF
dcd01dd025 Eslint fixes (denoland/deno_std#356)
Make warnings fail
Original: 4543b563a9
2019-04-24 07:41:22 -04:00
Vincent LE GOFF
e1f7a60bb3 http : Add cookie module (denoland/deno_std#338)
Original: 1d85447886
2019-04-24 07:38:52 -04:00
Axetroy
b062300270 fix ts warning for http/server_test.ts (denoland/deno_std#342)
Original: f7ff14b6fd
2019-04-19 11:25:44 -04:00
Kevin (Kun) "Kassimo" Qian
236cedc7cb Enforce HTTP/1.1 pipeline response order (denoland/deno_std#331)
Original: 144ef0e08d
2019-04-13 15:23:56 -04:00
Yoshiya Hinosawa
985386228b refactor: update for flag change in the next version (denoland/deno_std#327)
Original: b6c7291181
2019-04-07 20:30:45 -04:00
Kevin (Kun) "Kassimo" Qian
9d1e24b67b Remove await from respond in http_bench.ts (denoland/deno_std#324)
Original: 1ea76ca797
2019-04-07 03:58:01 +03:00
Vincent LE GOFF
4ac66ec640 Test reorganization (denoland/deno_std#290)
Original: 0bb040e8d4
2019-03-18 12:49:54 -04:00
Yoshiya Hinosawa
f124e64526 fix: eslint errors (denoland/deno_std#265)
Original: 61af419bbc
2019-03-12 01:51:51 -04:00
Eugen Cazacu
1870a8ec72 Eslint Fix http (denoland/deno_std#257)
Original: 2153fd2646
2019-03-09 11:46:53 -05:00
Eugen Cazacu
3761d41d32 http: add return types (denoland/deno_std#250)
Original: 84f9fe0649
2019-03-08 13:04:02 -05:00
Yoshiya Hinosawa
f90f62fa52 Use Deno global var instead of built-in "deno" module (denoland/deno_std#247)
Original: 395392912d
2019-03-07 19:25:16 -05:00
Ryan Dahl
caa383a583 Rename assertEq to assertEquals (denoland/deno_std#242)
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 (denoland/deno_std#240)
Original: e1d5c00279
2019-03-06 16:39:50 -05:00
Andy Hayden
d29957ad17 Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239)
Original: 0fc13fffbd
2019-03-06 10:24:53 -05:00
Bert Belder
2ba7de2d04 Change import { x } from "deno" to const { x } = Deno (denoland/deno_std#218)
Original: 6063378a92
2019-02-26 00:35:50 -05:00
Ryan Dahl
a7bf191353 Fix import in http_bench.ts (denoland/deno_std#217)
Original: d441a7dbf0
2019-02-24 13:53:13 -08:00
Ryan Dahl
d63a2e0224 Revert "Redesign of http server module (denoland/deno_std#188)"
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 (denoland/deno_std#199)
Original: da188a7d30
2019-02-18 18:32:31 -05:00
Yusuke Sakurai
57f4e6a864 Redesign of http server module (denoland/deno_std#188)
Original: 8569f15207
2019-02-15 11:03:57 -05:00
Yusuke Sakurai
ed20bda6ec refactor: make acceptWebSocket independent from ServerRequest (denoland/deno_std#178)
Original: 88ddd5677d
2019-02-10 18:45:24 -05:00