mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-01 20:10:28 +00:00
LibWeb: Add request_body property in HTML::POSTResource
This commit is contained in:
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
1 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue