Skip to content

Commit

Permalink
Merge pull request #1585 from hubot-new/httpclient-trailing-spaces
Browse files Browse the repository at this point in the history
fix(httpclient): #1584 remove trailiing spaces
  • Loading branch information
technicalpickles committed Apr 17, 2023
2 parents a1af4c8 + be94fe6 commit b390398
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/httpclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ class ScopedClient {
}
i += 1
}

if (!options.headers) { options.headers = {} }
if (options.encoding == null) { options.encoding = 'utf-8' }
return options
Expand Down

0 comments on commit b390398

Please sign in to comment.