Skip to content

Commit a2757bc

Browse files
authored
Merge pull request #167 from Siddhantshukla814/GETHARDATA
Header User-Agent added
2 parents 011160f + 9bb6b7a commit a2757bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/webpagetest.js

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ function get(config, pathname, proxy, agent, callback, encoding) {
9393

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

9899
if (agent) {

0 commit comments

Comments
 (0)