0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 11:51:01 +01:00
hono/deno_dist/utils
Sor4chi e4f7f971a8
feat: parseBody() for multi values' field (#1528)
* feat: add "all" option to parseBody

* feat: add parseBody option to `req.parseBody()`

* test: add single value (override) and multiple value cases to praseBody

* test: split parse case of parseBody

* chore: denoify

* refactor(body): make clear parseBody logic

* chore: denoify

* fix: single value of the field should not be parsed to array

* test: add some case of single value's field in "all" option

* chore: denoify
2023-10-05 16:33:56 +09:00
..
jwt fix(jwt): incorrect error message (#1487) 2023-09-21 06:14:48 +09:00
body.ts feat: parseBody() for multi values' field (#1528) 2023-10-05 16:33:56 +09:00
buffer.ts fix(utils/buffer): fix bufferToFormData() (#1500) 2023-09-23 23:46:09 +09:00
cookie.ts feat: Add CHIP support - supersedes #1198 (#1456) 2023-09-17 00:57:26 +09:00
crypto.ts refactor: support new @cloudflare/worker-types (#673) 2022-11-23 07:27:42 +09:00
encode.ts fix: avoid range-error (#1168) 2023-06-07 21:54:49 +09:00
filepath.ts fix(utils/filepath): allow .. in filename (#1272) 2023-07-27 11:43:42 +09:00
html.ts docs: support change of escapeTextForBrowser path in react (#1336) 2023-08-16 07:39:35 +09:00
http-status.ts feat(utils): remove HTTP status messages from http-status.ts (#1037) 2023-04-28 12:10:20 +09:00
mime.ts Add missing wasm mime type (#1307) 2023-08-09 21:45:07 +09:00
stream.ts fix(context): fix c.stream() and c.streamText() matters (#1482) 2023-09-20 22:53:30 +09:00
types.ts fix(types): middleware with different env types (#1466) 2023-09-16 20:32:54 +09:00
url.ts Revert "refactor(utils/url): remove unnecessary code (#1315)" 2023-08-10 16:39:28 +09:00