proxmox/proxmox-router
Shannon Sterz 1f58e40f3f router/rest-server: add new AsyncHttpBodyParameters api handler type
this allows us to write api handlers that have access to a request's
headers and to create a low level response while being able to also
specify the parameter in the request's body. this is useful for
endpoints that should not use url parameters, but still need to
access/set specific headers.

previously, `AsyncHttp` did not allow for parameters that were marked
as non-optional to be passed in the body of a request.

as a side-effect, the body is parsed by the rest server to check for
parameters and consumed. so it cannot be passed on by the handler.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
2025-03-04 15:53:29 +01:00
..
debian router: bump to 3.0.1-1 2025-01-15 12:35:43 +01:00
src router/rest-server: add new AsyncHttpBodyParameters api handler type 2025-03-04 15:53:29 +01:00
tests router: test: sort object schema properties 2025-01-14 10:34:29 +01:00
Cargo.toml router: bump to 3.0.1-1 2025-01-15 12:35:43 +01:00