aio-libs / aio-libs/aiohttp-debugtoolbar

Plain text output for command line user agents

Aberta
#88 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
202
Forks
29
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I've just been building a restful API and am testing it with curl.

I have debugtoolbar enabled and 500 errors come through as a full web page which isn't at all easy to read.

The obvious solution is to disable debugtoolbar but it would still be nice to show plain text output for obvious CLI requests eg. `curl`, `wget`, `httpie` in case people use curl with dbtb switched on.

Alternatively there could be a white list of browser user-agents to show HTML response for or use `content-type`, but that all seems error prone.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.