Skip to content

Adding application/octocat-stream to list of inspectable MIME types#211

Open
shawnHartsell wants to merge 1 commit intocli:trunkfrom
shawnHartsell:sh-add-octocat-stream
Open

Adding application/octocat-stream to list of inspectable MIME types#211
shawnHartsell wants to merge 1 commit intocli:trunkfrom
shawnHartsell:sh-add-octocat-stream

Conversation

@shawnHartsell
Copy link

@shawnHartsell shawnHartsell commented Jan 27, 2026

Fixes: #210
Relates to: github/rest-api-description#5178

This pull request updates the logic for determining which MIME types are considered "inspectable" and adds comprehensive unit tests to ensure correct behavior. The main change is the inclusion of the application/octocat-stream MIME type as inspectable.

I also manually tested this change by replacing the cli/go-gh package for cli/cli locally and verified that running gh api --verbose /octocat output the ASCII art response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Treat application/octocat-stream as an inspectable MIME type

1 participant