Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 288 for cookie (0.05 sec)

  1. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    {!../../docs_src/dependencies/tutorial005.py!}
    ```
    
    这里重点说明一下声明的参数:
    
    * 尽管该函数自身是依赖项,但还声明了另一个依赖项(它「依赖」于其他对象)
        * 该函数依赖 `query_extractor`, 并把 `query_extractor` 的返回值赋给参数 `q`
    * 同时,该函数还声明了类型是 `str` 的可选 cookie(`last_query`)
        * 用户未提供查询参数 `q` 时,则使用上次使用后保存在 cookie 中的查询
    
    ### 使用依赖项
    
    接下来,就可以使用依赖项:
    
    ```Python hl_lines="22"
    {!../../docs_src/dependencies/tutorial005.py!}
    ```
    
    /// info | "信息"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/schema-extra-example.md

    ///
    
    ## `example` e `examples` no OpenAPI
    
    Ao usar quaisquer dos:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    você também pode declarar um dado `example` ou um grupo de `examples` com informações adicionais que serão adicionadas ao **OpenAPI**.
    
    ### `Body` com `example`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
            default_factory: Union[Callable[[], Any], None] = _Unset,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/schema-extra-example.md

    ```
    
    ////
    
    /// warning
    
    🚧 🤯 👈 📚 ➕ ❌ 🚶‍♀️ 🏆 🚫 🚮 🙆 🔬, 🕴 ➕ ℹ, 🧾 🎯.
    
    ///
    
    ## `example` & `examples` 🗄
    
    🕐❔ ⚙️ 🙆:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    👆 💪 📣 💽 `example` ⚖️ 👪 `examples` ⏮️ 🌖 ℹ 👈 🔜 🚮 **🗄**.
    
    ### `Body` ⏮️ `example`
    
    📥 👥 🚶‍♀️ `example` 📊 ⌛ `Body()`:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/Cookie$Builder {
    	public fun <init> ()V
    	public final fun build ()Lokhttp3/Cookie;
    	public final fun domain (Ljava/lang/String;)Lokhttp3/Cookie$Builder;
    	public final fun expiresAt (J)Lokhttp3/Cookie$Builder;
    	public final fun hostOnlyDomain (Ljava/lang/String;)Lokhttp3/Cookie$Builder;
    	public final fun httpOnly ()Lokhttp3/Cookie$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. fastapi/openapi/models.py

        else:
    
            class Config:
                extra = "allow"
    
    
    class ParameterInType(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Encoding(BaseModelWithConfig):
        contentType: Optional[str] = None
        headers: Optional[Dict[str, Union["Header", Reference]]] = None
        style: Optional[str] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/cors.md

    これを実現するには、バックエンドに「許可されたオリジン」のリストがなければなりません。
    
    この場合、フロントエンドを正しく機能させるには、そのリストに `http://localhost:8080` を含める必要があります。
    
    ## ワイルドカード
    
    リストを `"*"` (ワイルドカード) と宣言して、すべてを許可することもできます。
    
    ただし、Bearer Tokenで使用されるような認証ヘッダーやCookieなどのクレデンシャル情報に関するものを除いて、特定の種類の通信のみが許可されます。
    
    したがって、すべてを正しく機能させるために、許可されたオリジンの明示的な指定をお勧めします。
    
    ## `CORSMiddleware` の使用
    
    **FastAPI** アプリケーションでは `CORSMiddleware` を使用して、CORSに関する設定ができます。
    
    * `CORSMiddleware`をインポートします。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

        * Ela depende do `query_extractor`, e atribui o valor retornado pela função ao parâmetro `q`.
    * Ela também declara um cookie opcional `last_query`, do tipo `str`.
        * Se o usuário não passou nenhuma consulta `q`, a última consulta é utilizada, que foi salva em um cookie anteriormente.
    
    ## Utilizando a dependência
    
    Então podemos utilizar a dependência com:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3
    
    import java.net.CookieHandler
    
    /**
     * A cookie jar that delegates to a [java.net.CookieHandler].
     *
     * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which
     * conforms to the package-naming limitations of JPMS.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProvider.java

     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.lastaflute.core.security.InvertibleCryptographer;
    import org.lastaflute.web.servlet.cookie.CookieResourceProvider;
    
    /**
     * @author jflute
     */
    public class FessCookieResourceProvider implements CookieResourceProvider {
    
        protected final FessConfig harborConfig;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top