- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for H1 (0.11 sec)
-
docs_src/websockets/tutorial003.py
from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <h2>Your ID: <span id="ws-id"></span></h2> <form action="" onsubmit="sendMessage(event)"> <input type="text" id="messageText" autocomplete="off"/> <button>Send</button>
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Aug 09 13:52:19 GMT 2020 - 2.5K bytes - Viewed (0) -
docs_src/websockets/tutorial002_an_py310.py
status, ) from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <form action="" onsubmit="sendMessage(event)"> <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 2.8K bytes - Viewed (0) -
docs_src/custom_response/tutorial004.py
app = FastAPI() def generate_html_response(): html_content = """ <html> <head> <title>Some HTML in here</title> </head> <body> <h1>Look ma! HTML!</h1> </body> </html> """ return HTMLResponse(content=html_content, status_code=200) @app.get("/items/", response_class=HTMLResponse) async def read_items():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 491 bytes - Viewed (0) -
docs/pl/docs/index.md
--- hide: - navigation --- <style> .md-content .md-typeset h1 { display: none; } </style> <p align="center"> <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a> </p> <p align="center"> FastAPI to szybki, prosty w nauce i gotowy do użycia w produkcji framework </p> <p align="center">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19.4K bytes - Viewed (0) -
docs/ru/docs/index.md
--- hide: - navigation --- <style> .md-content .md-typeset h1 { display: none; } </style> <p align="center"> <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a> </p> <p align="center"> Готовый к внедрению высокопроизводительный фреймворк, простой в изучении и разработке. </p> <p align="center">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 25.8K bytes - Viewed (0) -
docs/zh/docs/index.md
--- hide: - navigation --- <style> .md-content .md-typeset h1 { display: none; } </style> <p align="center"> <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a> </p> <p align="center"> FastAPI 框架,高性能,易于学习,高效编码,生产可用 </p> <p align="center"> <a href="https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest" target="_blank">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.2K bytes - Viewed (0) -
docs_src/templates/templates/item.html
HTML - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 235 bytes - Viewed (0) -
docs_src/custom_response/tutorial003.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 394 bytes - Viewed (0) -
docs_src/custom_response/tutorial002.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 352 bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial004.py
client = TestClient(app) html_contents = """ <html> <head> <title>Some HTML in here</title> </head> <body> <h1>Look ma! HTML!</h1> </body> </html> """ def test_get_custom_response(): response = client.get("/items/") assert response.status_code == 200, response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.2K bytes - Viewed (0)