1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
Commit graph

42 commits

Author SHA1 Message Date
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
Ryan Dahl
fa3f8cf67b Bump CI to v0.2.11 (denoland/deno_std#183)
Original: 1abdc2efc0
2019-02-09 15:41:05 -05:00
Dmitry Sharshakov
f113312ef2 Add missiong copyright headers (denoland/deno_std#177)
Original: 5440377495
2019-02-07 11:45:47 -05:00
Ryan Dahl
132650cdf3 Rename http/http.ts to http/server.ts (denoland/deno_std#170)
Remove http/mod.ts
Original: e79cb5a31a
2019-02-02 18:57:38 -05:00
Andy Hayden
b2e54bad61 Remove race-condition in file_server tests (denoland/deno_std#125)
Original: e28c9a4079
2019-01-17 13:08:59 -05:00
Kwang-in (Dennis) Jung
0c74c8ebc4 Improve http/README (denoland/deno_std#114)
Original: 6c5bdc58ba
2019-01-15 11:09:55 -05:00
Kitson Kelly
4a79450988 Improve re-exports in http (denoland/deno_std#111)
Original: b99d7d3e0f
2019-01-13 19:55:23 -05:00
Andy Hayden
f626b04ebe Reorgnanize repos, examples and tests (denoland/deno_std#105)
Original: c5e6e015b5
2019-01-12 16:50:04 -05:00