Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure that proper headers are passed before JSON HTTP call
Since the functions parses the body as JSON, it is appropriate to set the Accept header to be application/json indicating the server that the client wants JSON in response. Also application/json is recognized as a standard MIME media type: https://tools.ietf.org/html/rfc4627#section-6 This patch will fix snoyberg#284
- Loading branch information