Luca Casonato
30f3b831d3
fix: path traversal in std/http/file_server.ts ( #8134 )
2020-10-27 11:48:45 +01:00
Tim Reichen
ae86cbb551
rename(std/testing): rename assert*Contains to assert*Includes ( #7951 )
...
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
2020-10-26 16:03:30 +01:00
uki00a
b65171e37d
fix(std/http/file_server): File server should ignore query params ( #8116 )
2020-10-26 14:55:26 +01:00
Max Drosdo.www
17eaede643
docs: fix command examples use outdated default file_server port ( #8062 )
2020-10-22 17:17:38 +02:00
tokiedokie
3d65177dbc
docs(std): version all imports in README ( #7442 )
...
Use $STD_VERSION in std/ README files to automatically
display proper version.
2020-10-04 14:18:36 +02:00
tokiedokie
ec96323823
chore(std/http): rename http_bench.ts -> bench.ts ( #7509 )
2020-10-04 13:34:52 +02:00
Trivikram Kamat
d0eb179132
docs: end sentences with a period in markdown ( #7813 )
2020-10-04 07:19:11 +11:00
David Sherret
df02e31507
feat(fmt): Sort named import and export specifiers ( #7711 )
2020-09-27 12:22:32 +02:00
tokiedokie
c4ed3fb7e7
chore: add copyright ( #7593 )
2020-09-21 08:26:41 -04:00
Bartek Iwańczuk
79e5b57663
chore: reenable disabled test in std/ ( #7578 )
2020-09-19 14:07:54 +02:00
Bartek Iwańczuk
7845740637
refactor: deno_fetch op crate ( #7524 )
2020-09-18 09:20:55 -04:00
Ryan Dahl
46bf660e36
refactor: make fetch use op_fetch_read instead of op_read ( #7529 )
2020-09-17 16:11:55 +02:00
Casper Beyer
bee36a4de8
test(std/http): make tests runnable from any directory ( #7441 )
...
This makes std/http tests runnable from any directory by spawning test
processes in the module directory resolved from import.meta.url and
resolving test data relative to the same module directory.
2020-09-14 12:58:43 +02:00
Casper Beyer
644190eed8
test(std): ensure mod.ts modules have a test coverage ( #7264 )
2020-08-31 22:26:55 -04:00
木杉
988790834e
feat(std/http): add --no-dir-listing flag to file_server ( #6808 )
2020-08-12 11:38:25 -04:00
Alberto Ricart
91ff91093d
feat(std): added TLS serve abilities to file_server ( #6962 )
2020-08-12 12:55:38 +02:00
Trivikram Kamat
c8fc679329
test(std): remove unstable from multiple tests ( #6882 )
2020-07-26 15:52:08 -04:00
David Sherret
cde4dbb351
Use dprint for internal formatting ( #6682 )
2020-07-14 15:24:17 -04:00
Nayeem Rahman
63edeb1c36
fix(cli/js/web/url): Implement IPv4 hostname parsing ( #6707 )
2020-07-13 00:56:45 -04:00
KrisChambers
d01eb6d9c5
Fix for issue #6685 : --allow-net=:8080 broken ( #6698 )
2020-07-10 22:37:20 -04:00
Evan Bertrand
e92cf5b9e8
fix(std/http): properly return port 80 in _parseAddrFromStr ( #6635 )
2020-07-09 03:37:50 -04:00
Kitson Kelly
7858ebd493
Update std/http/cookie types to not require full ServerRequest object ( #6577 )
2020-06-30 09:08:40 -04:00
Oron Sharabi
53f8d96a1f
fix(std/http): Support ipv6 parsing ( #5263 )
2020-06-29 10:39:17 -04:00
Jim van der Voort
6f3ad0f73a
fix(std/http): Catch errors on file_server response.send ( #6285 )
2020-06-27 13:49:07 +02:00
Stanislav
7ea3071db5
docs: replace delCookie with deleteCookie ( #6467 )
2020-06-25 07:12:09 -04:00
Nayeem Rahman
1fff6f55c3
refactor: Don't destructure the Deno namespace ( #6268 )
2020-06-12 15:23:38 -04:00
Ryan Dahl
d0970daacd
make std deno-lint clean ( #6240 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-06-12 09:19:29 -04:00
Nayeem Rahman
b3e189ee4f
fix(cli/js/process): Strengthen socket types based on pipes ( #4836 )
2020-06-09 13:18:18 +02:00
Marcos Casagrande
50a70f4ece
fix(http/server): flaky test on Windows ( #6188 )
2020-06-09 00:10:29 +02:00
Marcos Casagrande
2c990414bf
fix(std/http): Prevent crash on UnexpectedEof and InvalidData ( #6155 )
2020-06-08 17:58:52 +02:00
Chris Knight
3ef94c5473
refactor(std): remove testing dependencies from non-test code ( #5838 )
2020-06-07 09:20:33 -04:00
Tim Reichen
adffbacfe4
refactor(std/http): rename delCookie to deleteCookie ( #6088 )
2020-06-07 13:53:36 +02:00
Casper Beyer
ed5aedc6b4
Rename abbreviated assertions in std/testing ( #6118 )
2020-06-05 23:43:00 -04:00
Nayeem Rahman
97d876f6db
fix(std/http): Don't use assert() for user input validation ( #6092 )
2020-06-03 22:32:27 -04:00
matheus
94bf551ead
fix(std/http/file_server): args handling only if invoked directly ( #5989 )
2020-06-03 13:48:03 -04:00
simwipado
40419c664d
fix(std/http): file server not closing files ( #5952 )
2020-06-01 18:45:42 -04:00
Yasser A.Idrissi
12d741c2fe
feat(std/http) support code 103 Early Hints ( #6021 )
2020-06-01 11:10:17 -04:00
Voltra
aa514c058a
feat(std/http): add TooEarly status code ( #5999 )
...
As per [RFC 8470 5.2](https://tools.ietf.org/html/rfc8470#section-5.2 )
2020-05-31 13:49:33 -04:00
Yusuke Sakurai
b97459b5ae
fix: readTrailer didn't evaluate header names by case-insensitive ( #4902 )
2020-05-29 14:40:54 +02:00
Chris Knight
86c6f05404
doc: improve documentation for consuming request body ( #5771 )
2020-05-28 13:36:18 -04:00
Stephan Seidt
db9c2c156a
Fix shebangs ( #5898 )
2020-05-27 15:24:57 -04:00
Stephan Seidt
55d36006fc
Add wasm to media types ( #5896 )
2020-05-27 09:35:03 -04:00
Robin Wieruch
845bc443da
improve docs ( #5873 )
2020-05-26 10:09:47 -04:00
Kitson Kelly
228f9c207f
Use ts-expect-error instead of ts-ignore. ( #5869 )
2020-05-26 10:02:16 -04:00
moyinzi
8d8a2f573f
fix(std/http): file_server's target directory ( #5695 )
2020-05-21 13:55:18 -04:00
Bert Belder
36fde75d77
Miscellaneous documentation and spelling improvements ( #5527 )
...
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
2020-05-17 19:24:39 +02:00
Ali Hasani
eddb916883
Implement Deno.kill for windows ( #5347 )
2020-05-17 19:11:24 +02:00
Mike Nikles
0cbd432dc7
Add .css to the MEDIA_TYPES. ( #5367 )
2020-05-14 11:56:29 -04:00
Bert Belder
676be6632c
Fix flakiness in std file_server tests ( #5306 )
...
Fixes: #5275
2020-05-14 14:14:35 +02:00
Ryan Dahl
73d8fa74c6
BREAKING: There is no public Rust API for the CLI ( #5226 )
2020-05-11 17:33:36 -04:00