Skip to content

Commit

Permalink
add user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
deniak committed Dec 11, 2024
1 parent 7d51239 commit 4c42c51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/json-http-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ JsonHttpService.prototype = {
return new Promise((resolve, reject) => {
sua.post(self.url)
.set('Content-Type', 'application/json')
.set('User-Agent', 'W3C/Echidna')
.auth(self.user, self.pass)
.set(self.headers)
.send(body)
Expand Down

0 comments on commit 4c42c51

Please # to comment.