Age | Commit message (Collapse) | Author |
|
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move std/_util/async.ts to std/async
* Move std/util/sha*.ts to std/hash
|
|
|
|
Keep in mind Buffer.toString() still exists, but returns [object Object].
Reason for removal of Buffer.toString() was that it implicitly used
TextDecoder with fixed "utf-8" encoding and no way to customize
the encoding.
|
|
|
|
This commit removes overload of Deno.test() that accepted named
function.
|
|
|
|
readRequest should not write a response.
This reverts commit 017a611131a35ccf5dbfce6a2a665fa569e32ec1.
|
|
(#4565)
also removes std/encoding/mod.ts and std/archive/mod.ts which are useless.
|
|
|
|
|
|
|
|
|
|
- Added `ServerRequest.finalize()`: consuming all unread body stream and trailers.
- This is cleanup method for reading next request from same keep-alive connection.
- Needed when handler didn't consume all body and trailers even after responding.
- refactor: `ServerRequest._bodyStream()`, `ServerRequestBody` are removed.
- Now using `bodyReader()` and `chunkedBodyReader()` instead.
- fix: Trailers should only be read `transfer-encoding` is `chunked` and `trailer` header is set and its value is valid.
- fix: use `Headers.append()` on reading trailers.
- fix: delete `trailer` field from headers after reading trailers.
- reorg: Several functions related to IO are moved into `http/io.ts`
|
|
|
|
js/deps/https/deno.land/std -> js/std
|