Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-16 | feat(ext/fetch): Allow Response status 101 (#13969) | Ryan Dahl | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-02-16 | tests: deflake a bunch of net related tests (#13685) | Luca Casonato | |
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2021-12-16 | feat(fetch): support abort reasons in fetch (#13106) | Andreu Botella | |
2021-11-23 | refactor: remove "unitTest" wrapper from cli/tests/unit (#12750) | Bartek Iwańczuk | |
2021-11-09 | fix(fetch): set content-length for empty POST/PUT (#12703) | Luca Casonato | |
This commit changes `fetch` to set `content-length: 0` on POST and PUT requests with no body. | |||
2021-11-01 | feat(ext/fetch): support fetching local files (#12545) | Kitson Kelly | |
Closes #11925 Closes #2150 Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
2021-10-25 | fix(tls): Make TLS clients support HTTP/2 (#12530) | Andreu Botella | |
`fetch()` and client-side websocket used to support HTTP/2, but this regressed in #11491. This patch reenables it by explicitly adding `h2` and `http/1.1` to the list of ALPN protocols on the HTTP and websocket clients. | |||
2021-09-30 | feat(tls): custom in memory CA certificates (#12219) | Luca Casonato | |
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`. | |||
2021-09-29 | fix(ext/fetch): avoid panic when header is invalid (#12244) | Ahab | |
2021-09-23 | test(cli): align unit test permissions with runtime test permissions (#12189) | Casper Beyer | |
2021-09-22 | chore: replace calls to assertThrowsAsync with assertRejects (#12176) | Casper Beyer | |
2021-09-17 | chore(tests): fix flaky fetchPostBodyTypedArray (#12104) | David Sherret | |
2021-09-13 | fix(ext/fetch): Properly cancel upload stream when aborting (#11966) | Nayeem Rahman | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-08-25 | feat(fetch): mTLS client certificates for fetch() (#11721) | Sean Michael Wykes | |
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`. | |||
2021-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-08-05 | refactor(cli/tests): remove unnecessary void return types (#11577) | Leo K | |
2021-08-02 | Revert "fix(extensions/fetch): Add Origin header to outgoing requests for ↵ | Bartek Iwańczuk | |
fetch (#11557)" (#11565) This reverts commit f87aa44d94240327fb4ab1dc756d70f71247edb4. | |||
2021-08-02 | fix(extensions/fetch): Add Origin header to outgoing requests for fetch (#11557) | Feng Yu | |
2021-07-20 | tests: re-enable disabled Response.formData test (#11453) | Luca Casonato | |
2021-07-05 | refactor: asynchronous blob backing store (#10969) | Jimmy Wärting | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-07-05 | fix(fetch): OPTIONS should be allowed a non-null body (#11242) | Craig Morten | |
2021-06-30 | fix: panic in request body streaming (#11191) | Luca Casonato | |
2021-06-22 | fix(extensions/fetch): Filter out custom HOST headers (#11020) | Vladimir Ivanov | |
This commit updates "fetch" API to ignore custom "Host" headers and return value provided by "reqwest". | |||
2021-05-26 | fix(fetch): make prototype properties writable (#10769) | Luca Casonato | |
2021-05-03 | fix(op_crates/fetch): check fetch() argument length (#10474) | Anonymous | |
2021-04-29 | fix(op_crate/fetch): infinite loop on fill headers (#10406) | William Perron | |
Fixes a pesky bug in the fetch implementation where if the init part is specified in `fetch` instead of the `Request` constructor, the fillHeaders function receives two references to the same object, causing it to append to the same list being iterated over. | |||
2021-04-20 | chore: align fetch to spec (#10203) | Luca Casonato | |
This commit aligns the `fetch` API and the `Request` / `Response` classes belonging to it to the spec. This commit enables all the relevant `fetch` WPT tests. Spec compliance is now at around 90%. Performance is essentially identical now (within 1% of 1.9.0). | |||
2021-04-19 | chore: align `Headers` to spec (#10199) | Luca Casonato | |
This commit aligns `Headers` to spec. It also removes the now unused 03_dom_iterable.js file. We now pass all relevant `Headers` WPT. We do not implement any sort of header filtering, as we are a server side runtime. This is likely not the most efficient implementation of `Headers` yet. It is however spec compliant. Once all the APIs in the `HTTP` hot loop are correct we can start optimizing them. It is likely that this commit reduces bench throughput temporarily. | |||
2021-04-09 | chore: upgrade dependencies (#10094) | Bartek Iwańczuk | |
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript | |||
2021-04-06 | chore: deprecate Deno.Buffer and read/write utils (#9793) | Luca Casonato | |
This commit marks the `Deno.Buffer` / `Deno.readAll` / `Deno.readAllSync` / `Deno.writeAll` / `Deno.writeAllSync` utils as deprecated, and schedules them for removal in Deno 2.0. These utilities are implemented in pure JS, so should not be part of the Deno namespace. These utilities are now available in std/io/buffer and std/io/util: https://github.com/denoland/deno_std/pull/808. This additionallty removes all internal dependance on Deno.Buffer. | |||
2021-03-18 | fix: fallback to default UA and CA data for Deno.createHttpClient() (#9830) | Aaron O'Mullan | |
2021-02-22 | fix(tests): fix fetchConnectionError test if port is in use (#9465) | David DeSimone | |
Fixes #9379 | |||
2021-01-28 | chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305) | Luca Casonato | |
2021-01-15 | refactor(op_crate/fetch): align streams to spec (#9103) | Kitson Kelly | |
Fixes #8814 | |||
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2021-01-10 | feat(fetch): req streaming + 0-copy resp streaming (#9036) | Luca Casonato | |
* feat(fetch): req streaming + 0-copy resp streaming * lint * lint * fix test * rm test.js * explicitly use CancelHandle::default() * Apply review suggestions Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> * fix test * Merge remote-tracking branch 'origin/master' into fetch_real_streaming * fix test * retrigger ci Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> | |||
2021-01-07 | feat: add --location=<href> and globalThis.location (#7369) | Nayeem Rahman | |
2021-01-04 | BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928) | Mo | |
2021-01-04 | chore: disable flaky test on Windows (#8987) | Bartek Iwańczuk | |
2020-12-30 | fix(op_crates/fetch): correct regexp for fetch header (#8927) | Rich Trott | |
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value. | |||
2020-12-30 | chore(cli/tests): fix typo in test failure message (#8935) | Rich Trott | |
2020-12-26 | fix: fetch bad URL will not panic (#8884) | Yosi Pramajaya | |
2020-12-22 | fix: implement ReadableStream fetch body handling (#8855) | Luca Casonato | |
2020-12-19 | feat(unstable): support in memory certificate data for Deno.createHttpClient ↵ | yonatan ben avraham | |
(#8739) | |||
2020-12-09 | fix(op_crates/fetch): support non-ascii response headers value (#8600) | Jae-Heon Ji | |
2020-11-24 | fix(op_crates/fetch): `redirect: "manual"` fetch should return `type: ↵ | Luca Casonato | |
"default"` response (#8353) | |||
2020-11-03 | build: migrate to dlint (#8176) | Bartek Iwańczuk | |
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code. | |||
2020-10-19 | fix(op_crates/fetch): Body.body should be stream of Uint8Array (#8030) | Luca Casonato | |
2020-09-27 | feat(fmt): Sort named import and export specifiers (#7711) | David Sherret | |