mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +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
|
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#post-resource
|
||||||
struct POSTResource {
|
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 {
|
enum class RequestContentType {
|
||||||
ApplicationXWWWFormUrlencoded,
|
ApplicationXWWWFormUrlencoded,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue