Skip to content

Commit

Permalink
Merge pull request hubotio#699 from github/campfire-adapter-user-agent
Browse files Browse the repository at this point in the history
Campfire Adapter User-Agent
  • Loading branch information
technicalpickles committed May 15, 2014
2 parents 6e1b67f + a92d55a commit f8129ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adapters/campfire.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ class CampfireStreaming extends EventEmitter
headers =
"Host" : "streaming.campfirenow.com"
"Authorization" : self.authorization
"User-Agent" : "Hubot/#{@robot.version} (#{@robot.name})"

options =
"agent" : false
Expand Down Expand Up @@ -256,6 +257,7 @@ class CampfireStreaming extends EventEmitter
"Authorization" : @authorization
"Host" : @host
"Content-Type" : "application/json"
"User-Agent" : "Hubot/#{@robot.version} (#{@robot.name})"

options =
"agent" : false
Expand Down

0 comments on commit f8129ec

Please sign in to comment.