mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibWeb: Add request_body property in HTML::POSTResource
This commit is contained in:
parent
8be3de665b
commit
bccc687175
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…
Add table
Add a link
Reference in a new issue