Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 558 for body (0.02 seconds)

  1. docs/es/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *}
    
    `OAuth2PasswordRequestForm` es una dependencia de clase que declara un body de formulario con:
    
    * El `username`.
    * El `password`.
    * Un campo opcional `scope` como un string grande, compuesto por strings separados por espacios.
    * Un `grant_type` opcional.
    
    /// tip | Consejo
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. cmd/prepare-storage.go

    		return err
    	}
    	// Indicate that the liveness check for a peer call
    	req.Header.Set(xhttp.MinIOPeerCall, "true")
    
    	resp, err := httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  3. docs/de/docs/advanced/generate-clients.md

    ## Vorteile { #benefits }
    
    Wenn Sie die automatisch generierten Clients verwenden, erhalten Sie **Autovervollständigung** für:
    
    * Methoden.
    * Request-Payloads im Body, Query-Parameter, usw.
    * Response-Payloads.
    
    Sie erhalten auch **Inline-Fehlerberichte** für alles.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. docs/en/docs/alternatives.md

    It can't handle nested models very well. So, if the JSON body in the request is a JSON object that has inner fields that in turn are nested JSON objects, it cannot be properly documented and validated.
    
    /// check | Inspired **FastAPI** to
    
    Use Python types to have great editor support.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  5. internal/s3select/unused-errors.go

    		statusCode: 401,
    		cause:      err,
    	}
    }
    
    func errEmptyRequestBody(err error) *s3Error {
    	return &s3Error{
    		code:       "EmptyRequestBody",
    		message:    "Request body cannot be empty.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errUnsupportedRangeHeader(err error) *s3Error {
    	return &s3Error{
    		code:       "UnsupportedRangeHeader",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Benefits { #benefits }
    
    When using the automatically generated clients, you would get **autocompletion** for:
    
    * Methods.
    * Request payloads in the body, query parameters, etc.
    * Response payloads.
    
    You would also have **inline errors** for everything.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.1K bytes
    - Click Count (1)
  7. fastapi/_compat/v2.py

    def is_scalar_field(field: ModelField) -> bool:
        from fastapi import params
    
        return shared.field_annotation_is_scalar(
            field.field_info.annotation
        ) and not isinstance(field.field_info, params.Body)
    
    
    def is_sequence_field(field: ModelField) -> bool:
        return shared.field_annotation_is_sequence(field.field_info.annotation)
    
    
    def is_scalar_sequence_field(field: ModelField) -> bool:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/query-params-str-validations.md

    /// tip | Підказка
    
    Ми використовуємо `Query()`, оскільки це **query параметр**. Далі ми розглянемо інші варіанти, як-от `Path()`, `Body()`, `Header()` та `Cookie()`, які приймають ті самі аргументи, що й `Query()`.
    
    ///
    
    Тепер FastAPI:
    
    * **Перевірить** дані, щоб переконатися, що їхня довжина не перевищує 50 символів
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 14:17:24 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  9. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidMaxParts), r.URL)
    		return
    	}
    
    	var (
    		md5hex              = clientETag.String()
    		sha256hex           = ""
    		reader    io.Reader = r.Body
    		s3Error   APIErrorCode
    	)
    	if s3Error = isPutActionAllowed(ctx, rAuthType, bucket, object, r, policy.PutObjectAction); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
  10. cmd/admin-handlers.go

    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    	defer resp.Body.Close()
    	decoder := json.NewDecoder(resp.Body)
    	if err := decoder.Decode(&ki); err != nil {
    		ki.Error = err.Error()
    	}
    	return ki
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
Back to Top