- Sort Score
- Result 10 results
- Languages All
Results 1731 - 1740 of 3,066 for Gist (0.08 sec)
-
docs/de/docs/advanced/security/http-basic-auth.md
{* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} Dies wäre das gleiche wie: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Einen Error zurückgeben ... ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-param-models.md
For example, if the client tries to send a `santa_tracker` cookie with a value of `good-list-please`, the client will receive an **error** response telling them that the `santa_tracker` <abbr title="Santa disapproves the lack of cookies. 🎅 Okay, no more cookie jokes.">cookie is not allowed</abbr>: ```json {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 3.1K bytes - Viewed (0) -
tests/test_no_swagger_ui_redirect.py
def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "swagger-ui-dist" in response.text print(client.base_url) assert "oauth2RedirectUrl" not in response.text def test_swagger_ui_no_oauth2_redirect(): response = client.get("/docs/oauth2-redirect")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Apr 08 04:37:38 UTC 2020 - 786 bytes - Viewed (0) -
tests/test_optional_file_list.py
from typing import Optional from fastapi import FastAPI, File from fastapi.testclient import TestClient app = FastAPI() @app.post("/files") async def upload_files(files: Optional[list[bytes]] = File(None)): if files is None: return {"files_count": 0} return {"files_count": len(files), "sizes": [len(f) for f in files]} def test_optional_bytes_list(): client = TestClient(app) response = client.post(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 821 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/buttons.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <c:if test="${crudMode == 1}"> <button type="submit" class="btn btn-default" name="list" value="<la:message key="labels.crud_button_back" />"> <i class="fa fa-arrow-circle-left" aria-hidden="true"></i> <la:message key="labels.crud_button_back" /> </button> <c:if test="${editable}"> <button type="submit" class="btn btn-success" name="create"Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/accesstoken/admin_accesstoken.jsp
</la:info> <la:errors/> </div> <%-- List --%> <c:if test="${accessTokenPager.allRecordCount == 0}"> <div class="row"> <div class="col-sm-12">Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
HpackJsonUtil::class.java.getResource("/hpack-test-case") ?: return arrayOf() val testCaseDirectory = File(resource.toURI()).toOkioPath() val result = mutableListOf<String>() for (path in fileSystem.list(testCaseDirectory)) { val story00 = path / "story_00.json" if (!fileSystem.exists(story00)) continue try { readStory(story00) result.add(path.name) } catch (ignored: IOException) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.project.harness; import java.util.ArrayList; import java.util.List; import org.apache.commons.jxpath.ri.QName; import org.apache.commons.jxpath.ri.compiler.NodeTest; import org.apache.commons.jxpath.ri.model.NodeIterator; import org.apache.commons.jxpath.ri.model.NodePointer;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 3.3K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t00/maven/poms/p2-1.0.pom
<groupId>maven</groupId> <artifactId>p2</artifactId> <packaging>pom</packaging> <name>p2</name> <version>1.0</version> <mailingLists> <mailingList> <name>mailing-list</name> </mailingList> </mailingLists>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 401 bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
/// note 注意,`response_model`是「装饰器」方法(`get`,`post` 等)的一个参数。不像之前的所有参数和请求体,它不属于*路径操作函数*。 /// 它接收的类型与你将为 Pydantic 模型属性所声明的类型相同,因此它可以是一个 Pydantic 模型,但也可以是一个由 Pydantic 模型组成的 `list`,例如 `List[Item]`。 FastAPI 将使用此 `response_model` 来: * 将输出数据转换为其声明的类型。 * 校验数据。 * 在 OpenAPI 的*路径操作*中为响应添加一个 JSON Schema。 * 并在自动生成文档系统中使用。 但最重要的是: * 会将输出数据限制在该模型定义内。下面我们会看到这一点有多重要。 /// note | 技术细节
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.9K bytes - Viewed (0)