1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

LibWeb: Implement XMLHttpRequest.getAllResponseHeaders()

This commit is contained in:
Andreas Kling 2021-09-19 22:32:33 +02:00
parent 95559c4277
commit 7ef4d75716
3 changed files with 21 additions and 0 deletions

View file

@ -57,6 +57,7 @@ public:
DOM::ExceptionOr<void> set_request_header(const String& header, const String& value);
String get_response_header(const String& name) { return m_response_headers.get(name).value_or({}); }
String get_all_response_headers() const;
HTML::EventHandler onreadystatechange();
void set_onreadystatechange(HTML::EventHandler);