Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 558 for body (0.01 seconds)

  1. docs/ru/docs/tutorial/dependencies/index.md

    Точно так же, как вы используете `Body`, `Query` и т. д. с параметрами вашей *функции обработки пути*, используйте `Depends` с новым параметром:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Хотя вы используете `Depends` в параметрах вашей функции так же, как `Body`, `Query` и т. д., `Depends` работает немного иначе.
    
    В `Depends` вы передаёте только один параметр.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 15.4K bytes
    - Click Count (1)
  2. .github/ISSUE_TEMPLATE/BUG.yml

    #
    
    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
    
    name: Bug Report
    description: File a bug report
    labels: ["bug"]
    
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for taking the time to fill out this bug report.     
    
            Simple fixes in single PRs do not require issues. 
      
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:30:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. cmd/admin-handlers-idp-config.go

    		// More than maxConfigSize bytes were available
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL)
    		return
    	}
    
    	// Ensure body content type is opaque to ensure that request body has not
    	// been interpreted as form data.
    	contentType := r.Header.Get("Content-Type")
    	if contentType != "application/octet-stream" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. .github/pull_request_template.md

    - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
    - [ ] Each commit in the pull request should have a meaningful subject line and body.
      Note that commits might be squashed by a maintainer on merge.
    - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:30:05 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                            },
                        },
                        "callbacks": {
                            "invoice_notification": {
                                "{$callback_url}/invoices/{$request.body.id}": {
                                    "post": {
                                        "summary": "Invoice Notification",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. tests/test_dependency_duplicates.py

        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "item2"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_no_duplicates():
        response = client.post(
            "/no-duplicates",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. cmd/tier-handlers.go

    	ctx := r.Context()
    
    	objAPI, cred := validateAdminReq(ctx, w, r, policy.SetTierAction)
    	if objAPI == nil {
    		return
    	}
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	var cfg madmin.TierConfig
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Sep 12 20:44:05 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  8. cmd/signature-v4-utils.go

    func getContentSha256Cksum(r *http.Request, stype serviceType) string {
    	if stype == serviceSTS {
    		payload, err := io.ReadAll(io.LimitReader(r.Body, stsRequestBodyLimit))
    		if err != nil {
    			logger.CriticalIf(GlobalContext, err)
    		}
    		sum256 := sha256.Sum256(payload)
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    		return hex.EncodeToString(sum256[:])
    	}
    
    	var (
    		defaultSha256Cksum string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/request-form-models.md

    * `extra`: `Mr. Poopybutthole`
    
    Recibirá un response de error indicando que el campo `extra` no está permitido:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## Resumen { #summary }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_encoder/test_tutorial001.py

                "title": "Foo",
                "timestamp": "not a date",
            },
        )
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", "timestamp"],
                    "msg": "Input should be a valid datetime or date, invalid character in year",
                    "type": "datetime_from_date_parsing",
                    "input": "not a date",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top