Go-github: Provide capability to specify the `Accept` request header when retrieving issues.

Created on 8 Feb 2017  路  3Comments  路  Source: google/go-github

There is currently no way to specify a custom mime-type such as html+json when retrieving GitHub issues. However, this is needed when the client wants to retrieve the issue body rendered in HTML rather than in its input/raw format.

This issue has been discussed in https://github.com/google/go-github/issues/6#issuecomment-278333227

Most helpful comment

See also #727.

All 3 comments

@gmlewis what's the status on this?

We could probably address this in a similar way to #767 and #481.

See also #727.

Was this page helpful?
0 / 5 - 0 ratings