summaryrefslogtreecommitdiff
path: root/extensions/fetch
AgeCommit message (Collapse)Author
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl
2021-08-10chore: release crates (#11628)Bartek Iwańczuk
2021-08-10refactor: --unsafely-ignore-certificate-errors (#11629)Bartek Iwańczuk
2021-08-09feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL ↵TheAifam5
verification (#11324) This commit adds "--unsafely-treat-insecure-origin-as-secure" flag that allows to disable SSL verification for all domains, or specific domains if they were passed as an argument to the flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-07feat(tls): Optionally support loading native certs (#11491)Justin Chase
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value.
2021-08-02chore: format toml files internally (#11563)David Sherret
2021-08-02Revert "fix(extensions/fetch): Add Origin header to outgoing requests for ↵Bartek Iwańczuk
fetch (#11557)" (#11565) This reverts commit f87aa44d94240327fb4ab1dc756d70f71247edb4.
2021-08-02fix(extensions/fetch): Add Origin header to outgoing requests for fetch (#11557)Feng Yu
2021-07-29chore: release deno_fetch (#11549)Satya Rohith
2021-07-29refactor(extension/fetch): update init args (#11546)Satya Rohith
2021-07-28feat(extensions/fetch): extend init options (#11528)Satya Rohith
2021-07-26chore: release crates (#11519)Bartek Iwańczuk
2021-07-26refactor: use `primordials` in runtime, extensions and core (#11500)Yusuke Tanaka
2021-07-20fix: close fetch response body on GC (#11467)Luca Casonato
This commit fixes fetch response bodies to be automatically closed if the `Response.body` readable stream goes out of scope and is GC'ed.
2021-07-20tests: re-enable disabled Response.formData test (#11453)Luca Casonato
2021-07-19chore: release crates (#11454)Bartek Iwańczuk
2021-07-13chore: release crates (#11378)Bartek Iwańczuk
2021-07-09chore: update crates (#11332)Luca Casonato
2021-07-08fix: inspecting prototypes of built-ins with custom inspect implementations ↵David Sherret
should not throw (#11308)
2021-07-08feat(runtime/http): server side websocket support (#10359)Leo K
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-06refactor: use primordials in extensions/fetch (#11266)Satya Rohith
2021-07-05chore: upgrade Tokio to 1.8.0 (#11281)Yusuke Tanaka
2021-07-05refactor: asynchronous blob backing store (#10969)Jimmy Wärting
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05fix(fetch): OPTIONS should be allowed a non-null body (#11242)Craig Morten
2021-07-03feat: enable WebAssembly.instantiateStreaming and wasm async compilation ↵Andreu Botella
(#11200) The WebAssembly streaming APIs used to be enabled, but used to take buffer sources as their first argument (see #6154 and #7259). This change re-enables them, requiring a Promise<Response> instead, as well as enabling asynchronous compilation of WebAssembly modules.
2021-07-03refactor: introduce primordials for ext/web (#11228)Luca Casonato
2021-07-02fix(fetch): a consumed body with a non-stream source should result in a ↵Andreu Botella
disturbed stream (#11217)
2021-07-02v1.11.3Luca Casonato
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-06-30fix: panic in request body streaming (#11191)Luca Casonato
2021-06-28chore: release deno_core (#11164)Bartek Iwańczuk
2021-06-26fix(fetch): encode and decode headers as byte strings (#11070)Andreu Botella
2021-06-25chore(ext/console): deprecate Deno.customInspect (#10035)Yoshiya Hinosawa
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-06-23fix(fetch): proxy body for requests created from other requests (#11093)Andreu Botella
Additionally, if the existing `Request`'s body is disturbed, the Request creation should fail. This change also updates the step numbers in the Request constructor to match whatwg/fetch#1249.
2021-06-22refactor(FormData): refactor formdata serializer to support async blob ↵Jimmy Wärting
backing (#11050)
2021-06-22fix(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-06-22feat(fetch): add programmatic proxy (#10907)Tomofumi Chiba
This commit adds new options to unstable "Deno.createHttpClient" API. "proxy" and "basicAuth" options were added that allow to use custom proxy when client instance is passed to "fetch" API.
2021-06-21chore: release crates (#11068)Bartek Iwańczuk
2021-06-19chore: upgrade Tokio to 1.7.1 (#11045)Yusuke Tanaka
2021-06-18fix: fetch with method HEAD should not have body (#11003)Yasser A.Idrissi
2021-06-16fix: align URL / URLSearchParams to spec (#11005)Luca Casonato
2021-06-16chore: upgrade Tokio to 1.7.0 (#11008)Yusuke Tanaka
2021-06-15chore: release crates (#10976)Bartek Iwańczuk
2021-06-15refactor: store header keys lower case internally (#10958)Luca Casonato
This is a minor optimization that removes some header key lowercasing that previously happened on access.
2021-06-14refactor: move streams implementation to deno_web crate (#10935)Bartek Iwańczuk
2021-06-10refactor: merge deno_file crate into deno_web (#10914)Bartek Iwańczuk
This refactor makes it so there's one less crate to publish on each release.
2021-06-08chore: release crates (#10896)Bartek Iwańczuk
2021-06-07refactor: clean up webidl protype configuration (#10871)Luca Casonato
2021-06-06feat(fetch): implement abort (#10863)Luca Casonato
This commit introduces fetch aborting via an AbortSignal.
2021-06-05refactor(web): use encoding_rs for text encoding (#10844)Luca Casonato
This commit removes all JS based text encoding / text decoding. Instead encoding now happens in Rust via encoding_rs (already in tree). This implementation retains stream support, but adds the last missing encodings. We are incredibly close to 100% WPT on text encoding now. This should reduce our baseline heap by quite a bit.
2021-06-05fix(streams): expose ReadableByteStreamController & ↵Leo K
TransformStreamDefaultController (#10855)