Skip to content

Commit

Permalink
Merge pull request #167 from Siddhantshukla814/GETHARDATA
Browse files Browse the repository at this point in the history
Header User-Agent added
  • Loading branch information
tkadlec authored Nov 8, 2022
2 parents 011160f + 9bb6b7a commit a2757bc
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 a2757bc

Please sign in to comment.