Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for Cookies (2 sec)

  1. src/net/textproto/reader_test.go

    	for i := 0; i < len(data); i++ {
    		data[i] = 'x'
    	}
    	sdata := string(data)
    	r := reader("Cookie: " + sdata + "\r\n\n")
    	m, err := r.ReadMIMEHeader()
    	if err != nil {
    		t.Fatalf("ReadMIMEHeader: %v", err)
    	}
    	cookie := m.Get("Cookie")
    	if cookie != sdata {
    		t.Fatalf("ReadMIMEHeader: %v bytes, want %v bytes", len(cookie), len(sdata))
    	}
    }
    
    // TestReadMIMEHeaderNonCompliant checks that we don't normalize headers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client_tls13.go

    	// cookie, and clients must abort the handshake if the HRR would not result
    	// in any change in the ClientHello.
    	if hs.serverHello.selectedGroup == 0 && hs.serverHello.cookie == nil {
    		c.sendAlert(alertIllegalParameter)
    		return errors.New("tls: server sent an unnecessary HelloRetryRequest message")
    	}
    
    	if hs.serverHello.cookie != nil {
    		hello.cookie = hs.serverHello.cookie
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. 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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (1)
  4. docs/de/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    ## `examples` im JSON-Schema – OpenAPI
    
    Bei Verwendung von:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    können Sie auch eine Gruppe von `examples` mit zusätzlichen Informationen deklarieren, die zu ihren **JSON-Schemas** innerhalb von **OpenAPI** hinzugefügt werden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:19:53 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/schema-extra-example.md

    ## Использование `example` и `examples` в OpenAPI
    
    При использовании любой из этих функций:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    вы также можете добавить аргумент, содержащий `example` или группу `examples` с дополнительной информацией, которая будет добавлена в **OpenAPI**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    ## `examples` in JSON Schema - OpenAPI
    
    When using any of:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.
    
    ### `Body` with `examples`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. 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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. fastapi/security/http.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, in an HTTP
                    Bearer token or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = HTTPBearerModel(bearerFormat=bearerFormat, description=description)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. src/main/resources/fess_config.properties

    #                                                     Cookie
    #                                                     ------
    # The default path of cookie (basically '/' if no context path)
    cookie.default.path = /
    
    # The default expire of cookie in seconds e.g. 31556926: one year, 86400: one day
    cookie.default.expire = 3600
    
    session.tracking.modes=cookie
    
    # ----------------------------------------------------------
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Apr 11 02:34:53 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. fastapi/security/oauth2.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, with OAuth2
                    or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = OAuth2Model(
                flows=cast(OAuthFlowsModel, flows), description=description
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top