mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
LibWeb: Send User-Agent in HTTP requests
Coming soon to a Browser Market Share graph near you! :^)
This commit is contained in:
parent
897998017a
commit
63d98bbd76
4 changed files with 19 additions and 3 deletions
|
@ -50,13 +50,16 @@ public:
|
|||
|
||||
Protocol::Client& protocol_client() { return *m_protocol_client; }
|
||||
|
||||
const String& user_agent() const { return m_user_agent; }
|
||||
|
||||
private:
|
||||
ResourceLoader();
|
||||
static bool is_port_blocked(int port);
|
||||
|
||||
int m_pending_loads { 0 };
|
||||
|
||||
RefPtr<Protocol::Client> m_protocol_client;
|
||||
bool is_port_blocked(int port);
|
||||
String m_user_agent;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue