mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Add request_body property in HTML::POSTResource
This commit is contained in:
committed by
Andreas Kling
parent
8be3de665b
commit
bccc687175
Notes:
sideshowbarker
2024-07-17 01:06:10 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/bccc687175 Pull-request: https://github.com/SerenityOS/serenity/pull/18601 Reviewed-by: https://github.com/awesomekling
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user