Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 694 for toSend (0.24 sec)

  1. docs_src/request_forms_and_files/tutorial001_an_py39.py

    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 386 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial005_an.py

                        },
                    },
                    "Token": {
                        "title": "Token",
                        "required": ["access_token", "token_type"],
                        "type": "object",
                        "properties": {
                            "access_token": {"title": "Access Token", "type": "string"},
                            "token_type": {"title": "Token Type", "type": "string"},
                        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_py310.py

        return encoded_jwt
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        credentials_exception = HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Could not validate credentials",
            headers={"WWW-Authenticate": "Bearer"},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cmd/api-resources.go

    	fetchOwner = values.Get("fetch-owner") == "true"
    	encodingType = values.Get("encoding-type")
    
    	if token = values.Get("continuation-token"); token != "" {
    		decodedToken, err := base64.StdEncoding.DecodeString(token)
    		if err != nil {
    			errCode = ErrIncorrectContinuationToken
    			return
    		}
    		token = string(decodedToken)
    	}
    	return
    }
    
    // Parse bucket url queries for ?uploads
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/bucket-listobjects-handlers.go

    		return token, -1
    	}
    	i := strings.Index(token, getKeySeparator())
    	if i < 0 {
    		return token, -1
    	}
    	nodeIndex, err := strconv.Atoi(token[i+1:])
    	if err != nil {
    		return token, -1
    	}
    	subToken = token[:i]
    	return subToken, nodeIndex
    }
    
    func proxyRequestByToken(ctx context.Context, w http.ResponseWriter, r *http.Request, token string) (string, bool) {
    	subToken, nodeIndex := parseRequestToken(token)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess/zh-tw/stopwords.txt

    # Punctuation tokens to remove
    ,
    .
    `
    -
    _
    =
    ?
    '
    |
    "
    (
    )
    {
    }
    [
    ]
    <
    >
    *
    #
    &
    ^
    $
    @
    !
    ~
    :
    ;
    +
    /
    \
    《
    》
    —
    -
    ,
    。
    、
    :
    ;
    !
    ·
    ?
    “
    ”
    )
    (
    【
    】
    [
    ]
    ●
    # the line below contains an IDEOGRAPHIC SPACE character (Used as a space in Chinese)
     
    
    # English Stop Words
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jun 17 08:00:22 UTC 2017
    - 310 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_py310.py

                        },
                    },
                    "Token": {
                        "title": "Token",
                        "required": ["access_token", "token_type"],
                        "type": "object",
                        "properties": {
                            "access_token": {"title": "Access Token", "type": "string"},
                            "token_type": {"title": "Token Type", "type": "string"},
                        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005_py39.py

                        },
                    },
                    "Token": {
                        "title": "Token",
                        "required": ["access_token", "token_type"],
                        "type": "object",
                        "properties": {
                            "access_token": {"title": "Access Token", "type": "string"},
                            "token_type": {"title": "Token Type", "type": "string"},
                        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/header-params.md

    ```
    
    ////
    
    Если вы взаимодействуете с этой *операцией пути*, отправляя два HTTP-заголовка, таких как:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Ответ был бы таким:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Резюме
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/header-params.md

    {!> ../../docs_src/header_params/tutorial003.py!}
    ```
    
    ////
    
    Wenn Sie mit einer *Pfadoperation* kommunizieren, die zwei HTTP-Header sendet, wie:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Dann wäre die Response:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Zusammenfassung
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top