LibWeb: Add request_body property in HTML::POSTResource

This commit is contained in:
Aliaksandr Kalenik 2023-01-01 16:14:49 +01:00 committed by Andreas Kling
parent 8be3de665b
commit bccc687175
Notes: sideshowbarker 2024-07-17 01:06:10 +09:00

View file

@ -12,7 +12,10 @@ namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#post-resource
struct POSTResource {
// FIXME: https://html.spec.whatwg.org/multipage/browsing-the-web.html#post-resource-request-body
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#post-resource-request-body
// A request body, a byte sequence or failure.
// FIXME: Change type to hold failure state.
Optional<ByteBuffer> request_body;
enum class RequestContentType {
ApplicationXWWWFormUrlencoded,