Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 333 for Cookies (0.34 sec)

  1. fastapi/dependencies/utils.py

        elif field_info_in == params.ParamTypes.header:
            dependant.header_params.append(field)
        else:
            assert (
                field_info_in == params.ParamTypes.cookie
            ), f"non-body parameters must be in path, query, header or cookie: {field.name}"
            dependant.cookie_params.append(field)
    
    
    def is_coroutine_callable(call: Callable[..., Any]) -> bool:
        if inspect.isroutine(call):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/routing.go

    						scopes.Framework.Infof("no response")
    						return
    					}
    					if res.Cookies() == nil {
    						scopes.Framework.Infof("no cookies")
    						return
    					}
    					var sessionCookie *http.Cookie
    					for _, cookie := range res.Cookies() {
    						if cookie.Name == "session-cookie" {
    							sessionCookie = cookie
    							break
    						}
    					}
    					if sessionCookie != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  3. CHANGELOG.md

        this new one.)
    
        ```kotlin
        implementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:5.0.0-alpha.12")
        ```
    
     *  New: `Cookie.sameSite` determines whether cookies should be sent on cross-site requests. This
        is used by servers to defend against Cross-Site Request Forgery (CSRF) attacks.
    
     *  New: Log the total time of the HTTP call in `HttpLoggingInterceptor`.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. docs/pt/docs/index.md

    **Alerta de Spoiler**: o tutorial - guia do usuário inclui:
    
    * Declaração de **parâmetetros** de diferentes lugares como: **cabeçalhos**, **cookies**, **campos de formulários** e **arquivos**.
    * Como configurar **Limitações de Validação** como `maximum_length` ou `regex`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/fa/docs/index.md

        * JSON.
        * <abbr title="Path parameters">پارامترهای مسیر</abbr>.
        * <abbr title="Query parameters">پارامترهای پرسمان</abbr>.
        * <abbr title="Cookies">کوکی‌ها</abbr>.
        * <abbr title="Headers">سرآیند‌ها (هدرها)</abbr>.
        * <abbr title="Forms">فرم‌ها</abbr>.
        * <abbr title="Files">فایل‌ها</abbr>.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 23:58:47 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        handling in WebSockets is significantly improved.
     *  Fix: Don't use SPDY/3 style header concatenation for HTTP/2 request headers.
        This could have corrupted requests where multiple headers had the same name,
        as in cookies.
     *  Fix: Reject bad characters in the URL hostname. Previously characters like
        `\0` would cause a late crash when building the request.
     *  Fix: Allow interceptors to change the request method.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

       * cookies can be 4KiB, and should be possible to send.
       *
       *  http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2
       */
      @Test
      fun largeHeaderValue() {
        val value = CharArray(4096)
        Arrays.fill(value, '!')
        val headerBlock = headerEntries("cookie", String(value))
        hpackWriter!!.writeHeaders(headerBlock)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. tests/test_schema_extra_examples.py

            def cookie_example(
                data: Union[str, None] = Cookie(
                    default=None,
                    example="cookie1",
                ),
            ):
                return data
    
        @app.get("/cookie_examples/")
        def cookie_examples(
            data: Union[str, None] = Cookie(
                default=None,
                examples=["cookie1", "cookie2"],
            ),
        ):
            return data
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    ## 0.29.0
    
    * Add support for declaring a `Response` parameter:
        * This allows declaring:
            * [Response Cookies](https://fastapi.tiangolo.com/advanced/response-cookies/).
            * [Response Headers](https://fastapi.tiangolo.com/advanced/response-headers/).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  10. tests/test_openapi_examples.py

                                    "Cookie One": {
                                        "summary": "Cookie One Summary",
                                        "description": "Cookie One Description",
                                        "value": "cookie1",
                                    },
                                    "Cookie Two": {"value": "cookie2"},
                                },
                            }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top