summaryrefslogtreecommitdiff
path: root/cli/http_util.rs
AgeCommit message (Collapse)Author
2020-02-04Do not encode files loaded from network as utf8 (#3856)Tilman Roeder
2020-02-03Use tokio::test for some of cli's unit tests (#3868)Ryan Dahl
2020-01-26Improve support of type definitions (#3755)Kitson Kelly
2020-01-16perf: share http client in file fetcher (#3683)Bartek Iwańczuk
2020-01-15fix: process hangs when fetch called (#3657)Yusuke Sakurai
Reverts 011d485
2020-01-11Add gzip, brotli and ETag support for file fetcher (#3597)EnokMan
2020-01-05Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600)Ry Dahl
2020-01-02Happy new year! (#3578)Ry Dahl
2020-01-02fix typos (#3573)EnokMan
2020-01-01cleanup after tokio upgrade (#3571)Gurwinder Singh
tokio_util::run and tokio::run_on_current_thread should accept Future<Output=()> instead of Future<Output=Result<(), ()>>. Currently, all the passed futures have to add Ok(()) or futures::future::ok(()) unnecessarily to call this method.
2019-12-31refactor: move HttpBody to cli/http_util.rs (#3569)Bartek Iwańczuk
2019-12-30use shared HTTP client (#3563)Bartek Iwańczuk
This commit moves HTTP client to lazy_static. Effectively HTTP client is shared by whole Deno process and will reuse connections.
2019-12-30upgrade: Tokio 0.2 (#3418)Bartek Iwańczuk
2019-11-16Use futures 0.3 API (#3358)Bartek Iwańczuk
2019-10-31Upgrade node_modules, change tagline, clean up root directory (#3247)Ry Dahl
* Upgrade node_modules * Simplify tagline * Move gclient_config.py out of root * Move package.json to tools * Remove yarn.lock * Remove CONTRIBUTING.md
2019-10-06remove more calls to tokio_util::block_on (#3059)Bartek Iwańczuk
towards #2960
2019-09-19Remove test.py, use cargo test as test frontend (#2967)Ryan Dahl
Fixes #2933
2019-09-11feat: Set user agent for http client (#2916)Bartek Iwańczuk
2019-08-30Use 'reqwest' to implement HTTP client (#2822)Bartek Iwańczuk
Closes #2720
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-11Refactor error to use dynamic dispatch and traitsBert Belder
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic.
2019-06-19Combine CLI Errors (#2487)Kitson Kelly
2019-04-09Silence clippy warnings and format source codeBert Belder
2019-04-01Follow redirect location as new referrers for nested module imports (#2031)Kevin (Kun) "Kassimo" Qian
Fixes #1742 Fixes #2021
2019-03-19Add fetch_remote_source_async (#1972)Ryan Dahl
2019-03-19Add async version of http_util::fetch_sync_stringRyan Dahl
2019-03-19Rename //src/ to //cli/ (#1962)Ryan Dahl
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally.