dweinstein/node-google-play

Google changed headers

yarafan opened this issue · 1 comments

Sometimes google returns 'content-type': 'application/binary' instead of 'application/protobuf', so

assert(res.headers['content-type'] === 'application/protobuf', 'not application/protobuf response');

fails, however their response is still same protobub

I've pushed out a prerelease version of the api 4.4.1-0 for now that removes the assert.

thanks for reporting this