Skip to content

Commit

Permalink
add Accept header
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jun 1, 2018
1 parent 548d4d3 commit c78f64d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const request = (profile, data) => {
headers: {
'Content-Type': 'application/json',
'Accept-Encoding': 'gzip, deflate',
'Accept': 'application/json',
'user-agent': 'https://github.com/public-transport/hafas-client'
},
query: {}
Expand Down

0 comments on commit c78f64d

Please sign in to comment.