From bccc6871759cd359656e75e996e9d8d5e6e72a98 Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Sun, 1 Jan 2023 16:14:49 +0100 Subject: [PATCH] LibWeb: Add request_body property in HTML::POSTResource --- Userland/Libraries/LibWeb/HTML/POSTResource.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/POSTResource.h b/Userland/Libraries/LibWeb/HTML/POSTResource.h index 55807644bd..c91bad3c4d 100644 --- a/Userland/Libraries/LibWeb/HTML/POSTResource.h +++ b/Userland/Libraries/LibWeb/HTML/POSTResource.h @@ -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 request_body; enum class RequestContentType { ApplicationXWWWFormUrlencoded,