Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1681 - 1690 of 1,765 for header (0.06 seconds)

  1. docs/zh/docs/alternatives.md

    /// check | 启发 **FastAPI**:
    
    寻找获得卓越性能的方法。
    
    与 Hug(Hug 基于 Falcon)一起,启发 **FastAPI** 在函数中声明一个 `response` 参数。尽管在 FastAPI 中它是可选的,主要用于设置 headers、cookies 和可选的状态码。
    
    ///
    
    ### [Molten](https://moltenframework.com/) { #molten }
    
    我在构建 **FastAPI** 的早期阶段发现了 Molten。它有不少相似的想法:
    
    * 基于 Python 类型提示。
    * 从这些类型获得校验与文档。
    * 依赖注入系统。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  3. docs/en/docs/index.md

        * JSON.
        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    * <dfn title="also known as: serialization, parsing, marshalling">Conversion</dfn> of output data: converting from Python data and types to network data (as JSON):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  4. src/bytes/buffer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if i != 0 {
    		t.Fatalf("unexpected return from bytes.ReadFrom (1): got: %d, want %d", i, 0)
    	}
    	check(t, "TestReadFromPanicReader (1)", &buf, "")
    
    	// Confirm that when Reader panics, the empty buffer remains empty
    	var buf2 Buffer
    	defer func() {
    		recover()
    		check(t, "TestReadFromPanicReader (2)", &buf2, "")
    	}()
    	buf2.ReadFrom(panicReader{panic: true})
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. tensorflow/c/BUILD

        ],
        deps = [
            ":c_api_internal",
        ],
    )
    
    # -----------------------------------------------------------------------------
    # Public targets
    
    filegroup(
        name = "headers",
        srcs = [
            "c_api.h",
            "c_api_experimental.h",
            "c_api_macros.h",
            "tensor_interface.h",
            "tf_attrtype.h",
            "tf_buffer.h",
            "tf_datatype.h",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 17 18:49:14 GMT 2026
    - 30.3K bytes
    - Click Count (0)
  6. docs/en/docs/python-types.md

    * **Editor support**.
    * **Type checks**.
    
    ...and **FastAPI** uses the same declarations to:
    
    * **Define requirements**: from request path parameters, query parameters, headers, bodies, dependencies, etc.
    * **Convert data**: from the request to the required type.
    * **Validate data**: coming from each request:
        * Generating **automatic errors** returned to the client when the data is invalid.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/handling-errors.md

    `HTTPException`을 발생시킬 때 `detail` 파라미터로 `str`만 전달할 수 있는 것이 아니라, JSON으로 변환할 수 있는 어떤 값이든 전달할 수 있습니다.
    
    `dict`, `list` 등을 전달할 수 있습니다.
    
    이들은 **FastAPI**가 자동으로 처리해 JSON으로 변환합니다.
    
    ///
    
    ## 커스텀 헤더 추가하기 { #add-custom-headers }
    
    HTTP 오류에 커스텀 헤더를 추가할 수 있으면 유용한 상황이 있습니다. 예를 들어 특정 보안 유형에서 그렇습니다.
    
    아마 코드에서 직접 사용할 일은 거의 없을 것입니다.
    
    하지만 고급 시나리오에서 필요하다면 커스텀 헤더를 추가할 수 있습니다:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

    import java.io.BufferedInputStream;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/cors.md

    Mas isso só permitirá certos tipos de comunicação, excluindo tudo que envolva credenciais: cookies, cabeçalhos de autorização como aqueles usados ​​com Bearer Tokens, etc.
    
    Então, para que tudo funcione corretamente, é melhor especificar explicitamente as origens permitidas.
    
    ## Usar `CORSMiddleware` { #use-corsmiddleware }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  10. docs/en/docs/features.md

    All the security schemes defined in OpenAPI, including:
    
    * HTTP Basic.
    * **OAuth2** (also with **JWT tokens**). Check the tutorial on [OAuth2 with JWT](tutorial/security/oauth2-jwt.md).
    * API keys in:
        * Headers.
        * Query parameters.
        * Cookies, etc.
    
    Plus all the security features from Starlette (including **session cookies**).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top