- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 990 for Host (0.13 seconds)
-
internal/ioutil/hardlimitreader.go
// but returns an error if the source provides more data than allowed. // This means the source *will* be overread unless EOF is returned prior. // The underlying implementation is a *HardLimitedReader. // This will ensure that at most n bytes are returned and EOF is reached. func HardLimitReader(r io.Reader, n int64) io.Reader { return &HardLimitedReader{r, n} } // A HardLimitedReader reads from R but limits the amount of
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2K bytes - Click Count (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
<p>Per-directory repository metadata <code>repository-metadata.xml</code>.</p> <p>A directory may represent 3 types of content: "groupId", "groupId/artifactId" or "groupId/artifactId/version".</p> <p>Most metadata content has a meaning when the directory represents a "groupId/artifactId" (<code>groupId</code>, <code>artifactId</code>, <code>versioning</code>)<p>]]> </description> <defaults> <default>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed May 15 17:32:27 GMT 2024 - 15.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
# 响应模型 你可以在任意的*路径操作*中使用 `response_model` 参数来声明用于响应的模型: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * 等等。 {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *} /// note 注意,`response_model`是「装饰器」方法(`get`,`post` 等)的一个参数。不像之前的所有参数和请求体,它不属于*路径操作函数*。 /// 它接收的类型与你将为 Pydantic 模型属性所声明的类型相同,因此它可以是一个 Pydantic 模型,但也可以是一个由 Pydantic 模型组成的 `list`,例如 `List[Item]`。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.9K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
Note that when adding a lazy property to an existing class, you need to check if instances of the class are instantiated via ObjectFactory. Most classes are instantiated this way, but it's possible that a class without any lazy properties was never updated to use it. A tell-tale sign that an object is not instantiated via the ObjectFactory are direct calls to the constructor with new.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 15 20:00:57 GMT 2024 - 10K bytes - Click Count (0) -
docs/ja/docs/tutorial/response-status-code.md
レスポンスモデルを指定するのと同じ方法で、レスポンスに使用されるHTTPステータスコードを以下の*path operations*のいずれかの`status_code`パラメータで宣言することもできます。 * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * など。 {* ../../docs_src/response_status_code/tutorial001.py hl[6] *} /// note | 備考 `status_code`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数*のものではありません。 /// `status_code`パラメータはHTTPステータスコードを含む数値を受け取ります。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 5.5K bytes - Click Count (0) -
architecture/standards/0009-use-american-english.md
### Rationale for American English American English was chosen for the following reasons: * **Current predominance**: The majority of existing Gradle code and documentation already uses American English * **Industry standard**: Most widely used programming languages, frameworks, and tools (Java, Kotlin, JavaScript, etc.) use American English in their APIs and documentation
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Nov 25 07:01:54 GMT 2025 - 3.9K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
current_user: User = Security(get_current_user, scopes=["me"]), ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: OAuth2PasswordRequestForm = Depends(), ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.2K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/toolchains.xml
| | -it /path/to/installation/toolchains.xml | | The sections in this sample file are intended to give you a running start at | getting the most out of your Maven installation. |--> <toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Aug 22 14:47:43 GMT 2024 - 3.6K bytes - Click Count (0) -
docs_src/sql_databases/tutorial002_py39.py
def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/", response_model=HeroPublic) def create_hero(hero: HeroCreate, session: Session = Depends(get_session)): db_hero = Hero.model_validate(hero) session.add(db_hero) session.commit()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.6K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py
assert response.json() == { "detail": [ { "type": "string_too_long", "loc": ["query", "q"], "msg": "String should have at most 50 characters", "input": "q" * 51, "ctx": {"max_length": 50}, } ] } def test_openapi_schema(client: TestClient):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.1K bytes - Click Count (0)