1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibWeb: Don't send a request body in XMLHttpRequest GET or HEAD

This commit is contained in:
Andreas Kling 2021-10-04 00:06:48 +02:00
parent 0cb4d48283
commit a7b1c7eb16
2 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ public:
String response_text() const;
DOM::ExceptionOr<void> open(const String& method, const String& url);
DOM::ExceptionOr<void> send(String const& body);
DOM::ExceptionOr<void> send(String body);
DOM::ExceptionOr<void> set_request_header(const String& header, const String& value);