Skip to content

Parse the body of QUERY requests

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:39
Immutable release. Only release title and notes can be modified.

11.1.0 (2026-11-27)

Features

  • The bodyparser parses the body of QUERY requests (RFC 10008) by default. QUERY is in the default allowedMethods of defineConfig. When your config gives its own allowedMethods, add 'QUERY' to the list. (#87)
  • A QUERY request with a missing or empty Content-Type fails with status 400 and the code E_INVALID_QUERY_CONTENT_TYPE, as RFC 10008 requires. The bodyparser does not read its body. Requests of the other methods keep today's behavior. (#87)

Use it with @adonisjs/http-server 9.4, which adds router.query().

Full changelog: v11.0.5...v11.1.0