Skip to content

api: treat application/octocat-stream as inspectable#224

Open
c-tonneslan wants to merge 1 commit into
cli:trunkfrom
c-tonneslan:fix/inspect-octocat-stream
Open

api: treat application/octocat-stream as inspectable#224
c-tonneslan wants to merge 1 commit into
cli:trunkfrom
c-tonneslan:fix/inspect-octocat-stream

Conversation

@c-tonneslan
Copy link
Copy Markdown

Closes #210.

/octocat returns ASCII art tagged with this non-standard content type, and httpretty was filtering it out so gh api --verbose /octocat showed empty response bodies. Treat it as inspectable like the other text-y types we already pass through.

Closes cli#210.

/octocat returns ASCII art tagged with this non-standard content type,
and httpretty was filtering it out so 'gh api --verbose /octocat'
showed empty bodies. Treat it as inspectable like the other text-y
types we already pass through.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
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