- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 519 for xhello (0.04 sec)
-
docs/de/docs/advanced/behind-a-proxy.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0) -
docs/zh/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> 返回的响应如下: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### 在 FastAPI 应用里设置 `root_path` 还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。 ```Python hl_lines="3"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.4K bytes - Viewed (0) -
docs_src/debugging/tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 223 bytes - Viewed (0) -
docs_src/response_headers/tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 309 bytes - Viewed (0) -
tests/test_tutorial/test_response_headers/test_tutorial002.py
client = TestClient(app) def test_path_operation(): response = client.get("/headers-and-object/") assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 378 bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication.sh
./mc ready minio1 --insecure ./mc ready minio2 --insecure # Prepare data for tests echo -n "Preparing test data ..." mkdir -p /tmp/data echo "Hello world" >/tmp/data/plainfile echo "Hello from encrypted world" >/tmp/data/encrypted touch /tmp/data/defpartsize shred -s 500M /tmp/data/defpartsize touch /tmp/data/custpartsize shred -s 500M /tmp/data/custpartsize echo "done"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 9.9K bytes - Viewed (0) -
Makefile
%: @$(MAKE_DOCKER) $@ default: @$(MAKE_DOCKER) shell: @$(RUN) /bin/bash .PHONY: default shell else # If we are not in build container, we need a workaround to get environment properly set # Write to file, then include $(shell mkdir -p out) $(shell $(shell pwd)/common/scripts/setup_env.sh envfile > out/.env) include out/.env
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 23 15:00:31 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/test_tutorial/test_response_headers/test_tutorial001.py
client = TestClient(app) def test_path_operation(): response = client.get("/headers/") assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"} assert response.headers["X-Cat-Dog"] == "alone in the world"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 426 bytes - Viewed (0) -
docs_src/bigger_applications/app_an/main.py
prefix="/admin", tags=["admin"], dependencies=[Depends(get_token_header)], responses={418: {"description": "I'm a teapot"}}, ) @app.get("/") async def root():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 552 bytes - Viewed (0) -
Makefile.core.mk
endif endif export ARTIFACTS ?= $(TARGET_OUT) export JUNIT_OUT ?= $(ARTIFACTS)/junit.xml export REPO_ROOT := $(shell git rev-parse --show-toplevel) # Make directories needed by the build system $(shell mkdir -p $(TARGET_OUT_LINUX)) $(shell mkdir -p $(TARGET_OUT_LINUX)/logs) $(shell mkdir -p $(dir $(JUNIT_OUT))) # Need separate target for init: $(TARGET_OUT): @mkdir -p $@
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 03 23:53:59 UTC 2024 - 18.4K bytes - Viewed (0)