[BUG] Documentation at 'fastapi.tiangolo.com' not responds
See original GitHub issueDescribe the bug
The documentation at https://fastapi.tiangolo.com/
does not respond - 80% of the time I receive The connection has timed out
.
To Reproduce Steps to reproduce the behavior:
- Open your browser
- Enter URL
https://fastapi.tiangolo.com/
- hit ‘Enter’
- See error
Expected behavior The documentation should open.
Screenshots NA
Environment:
- OS: Ubuntu 16.04; Firefox 66.0.5
- FastAPI Version [e.g. 0.3.0], get it with: any; Documentation URL
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
FastAPI - tiangolo
FastAPI framework, high performance, easy to learn, fast to code, ready for production.
Read more >Help FastAPI - Get Help
To fix an existing issue/bug. Make sure to add tests. To add a new feature. Make sure to add tests. Make sure to...
Read more >Handling Errors - FastAPI
Remember all those "404 Not Found" errors (and jokes)? ... client will receive an HTTP status code of 404 (the "not found" error),...
Read more >Release Notes - FastAPI
PR #5793 by @tiangolo. ... Add Arabic issue number to Notify Translations GitHub Action. ... Add docs for creating a custom Response class....
Read more >Response Status Code - FastAPI
FastAPI knows this, and will produce OpenAPI docs that state there is no response body. About HTTP status codes¶. Note. If you already...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@wshayes @tiangolo thanks to you both! I processed for now only the half of tutorial (by applying it on my projects). The rest of tutorial is for this week.
Thanks @wshayes !
@madkote BTW, JSON is valid YAML. YAML is a superset of JSON.
But it has the additional encoding ideas of using indentation.
I have been thinking about adding a tutorial on creating custom responses, using this as an example.
But here, as a preview:
You could create a response that inherits from Starlette’s
Response
, set themedia_type
to the correct type (the one your team uses, as there’s no official one). Then use, e.g.PyYAML
to receive thedict
and convert it to YAML with the canonical indentation-based format, and return that.