send Accept: application/json 🐛

This commit is contained in:
Jannis R 2018-06-07 12:04:21 +02:00
parent 7ec8540db4
commit 769f2e33f6
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5

View file

@ -20,6 +20,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: {}