Skip to content

Commit

Permalink
Header User-Agent added
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhantshukla814 committed Nov 3, 2022
1 parent 011160f commit 9bb6b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/webpagetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function get(config, pathname, proxy, agent, callback, encoding) {

if (encoding !== "binary") {
options.headers["accept-encoding"] = "gzip,deflate";
options.headers["User-Agent"] = "WebpagetestNodeWrapper/v0.6.0";
}

if (agent) {
Expand Down

0 comments on commit 9bb6b7a

Please sign in to comment.