Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SplitN (0.48 sec)

  1. fastapi/security/http.py

    
    class HTTPAuthorizationCredentials(BaseModel):
        """
        The HTTP authorization credentials in the result of using `HTTPBearer` or
        `HTTPDigest` in a dependency.
    
        The HTTP authorization header value is split by the first space.
    
        The first part is the `scheme`, the second part is the `credentials`.
    
        For example, in an HTTP Bearer token scheme, the client will send a header
        like:
    
        ```
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. fastapi/_compat.py

                )
                definitions.update(m_definitions)
                model_name = model_name_map[model]
                if "description" in m_schema:
                    m_schema["description"] = m_schema["description"].split("\f")[0]
                definitions[model_name] = m_schema
            return definitions
    
        def is_pv1_scalar_field(field: ModelField) -> bool:
            from fastapi import params
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top