Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-05 | fix(ext/formdata): support multiple headers in FormData (#20801) | Marcos Casagrande | |
Fixes https://github.com/denoland/deno/issues/20793 | |||
2023-05-16 | fix(fetch): Correctly decode `multipart/form-data` names and filenames (#19145) | Andreu Botella | |
Currently the `multipart/form-data` parser in `Request.prototype.formData` and `Response.prototype.formData` decodes non-ASCII filenames incorrectly, as if they were encoded in Latin-1 rather than UTF-8. This happens because the header section of each `multipart/form-data` entry is decoded as Latin-1 in order to be parsed with `Headers`, which only allows `ByteString`s, but the names and filenames are never decoded correctly. This PR fixes this as a post-processing step. Note that the `multipart/form-data` parsing for this APIs in the Fetch spec is very much underspecified, and it does not specify that names and filenames must be decoded as UTF-8. However, it does require that the bodies of non-`File` entries are decoded as UTF-8, and in browsers, names and filenames always use the same encoding as the body. Closes #19142. | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2021-11-23 | refactor: remove "unitTest" wrapper from cli/tests/unit (#12750) | Bartek Iwańczuk | |
2021-09-23 | test(cli): align unit test permissions with runtime test permissions (#12189) | Casper Beyer | |
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-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-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
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-09 | fix(op_crates/fetch): Stringify and parse Request URLs (#7838) | Nayeem Rahman | |
Fixes #7837 | |||
2020-09-27 | feat(fmt): Sort named import and export specifiers (#7711) | David Sherret | |
2020-08-20 | fix: Create body stream from any valid bodySource (#7128) | Kurt Mackey | |
Fixes #6752 | |||
2020-07-14 | Use dprint for internal formatting (#6682) | David Sherret | |
2020-07-07 | perf(cli/body): improve .arrayBuffer() speed (#6669) | Marcos Casagrande | |
2020-07-04 | chore: port http_server.py to rust (#6364) | Ryan Dahl | |
2020-06-28 | fix(cli/body): Maximum call stack size exceeded error (#6537) | Marcos Casagrande | |
2020-06-23 | fix(cli/web): Support URLSearchParam as Body (#6416) | Chris Couzens | |
The following used to fail in Deno despite working in the browser: ```javascript new Request('http://localhost/', {method: 'POST', body: new URLSearchParams({hello: 'world'})}).text().then(console.log) ``` | |||
2020-06-02 | fix: Better use of @ts-expect-error (#6038) | Kitson Kelly | |
2020-05-26 | Use ts-expect-error instead of ts-ignore. (#5869) | Kitson Kelly | |
2020-05-20 | move js unit tests to cli/tests (#5678) | Ryan Dahl | |