mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibWeb: Move extract_mime_type() from XMLHttpRequest to HeaderList
Except some minor tweaks, this is a direct copy of Luke's initial implementation in XMLHttpRequest, now replacing the former.
This commit is contained in:
parent
dfd62437c4
commit
042dfc7284
4 changed files with 63 additions and 60 deletions
|
@ -93,8 +93,6 @@ private:
|
|||
|
||||
String get_text_response() const;
|
||||
|
||||
Optional<MimeSniff::MimeType> extract_mime_type(Fetch::Infrastructure::HeaderList const& header_list) const;
|
||||
|
||||
explicit XMLHttpRequest(HTML::Window&);
|
||||
|
||||
NonnullRefPtr<HTML::Window> m_window;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue