Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 747 for Body (0.01 seconds)

  1. 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)
  2. docs/zh/docs/tutorial/request-form-models.md

    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    他们将收到一条错误响应,表明字段 `extra` 是不被允许的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## 总结
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 10 20:36:08 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. cmd/api-datatypes.go

    	ReplicateDecisionStr string `xml:"-"`
    }
    
    // createBucketLocationConfiguration container for bucket configuration request from client.
    // Used for parsing the location from the request body for Makebucket.
    type createBucketLocationConfiguration struct {
    	XMLName  xml.Name `xml:"CreateBucketConfiguration" json:"-"`
    	Location string   `xml:"LocationConstraint"`
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

          val handshake = response.handshake
          println(
            "${handshake!!.tlsVersion} ${handshake.cipherSuite} ${response.protocol} " +
              "${response.code} ${response.body.bytes().size}b",
          )
        }
      } catch (ioe: IOException) {
        println(ioe)
      }
    }
    
    fun main(vararg args: String) {
      // System.setProperty("javax.net.debug", "ssl:handshake:verbose");
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. fastapi/openapi/utils.py

    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.openapi.constants import METHODS_WITH_BODY, REF_PREFIX
    from fastapi.openapi.models import OpenAPI
    from fastapi.params import Body, ParamTypes
    from fastapi.responses import Response
    from fastapi.types import ModelNameMap
    from fastapi.utils import (
        deep_dict_update,
        generate_operation_id_for_path,
        is_body_allowed_for_status_code,
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

    name: TensorFlow Issue Template
    description: Use this template to report TensorFlow-related issues
    body:
      - type: dropdown
        id: issue-type
        attributes:
          label: Issue type
          description: What type of issue would you like to report?
          multiple: false
          options:
            - Bug
            - Build/Install
            - Performance
            - Support
            - Feature Request
            - Documentation Feature Request
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  7. scripts/deploy_docs_status.py

                message += "\n"
    
        print(message)
        issue = use_pr.as_issue()
        comments = list(issue.get_comments())
        for comment in comments:
            if (
                comment.body.startswith(header)
                and comment.user.login == "github-actions[bot]"
            ):
                comment.edit(message)
                break
        else:
            issue.create_comment(message)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody responseBody = response.body()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
              for (int i = 0, size = responseHeaders.size(); i < size; i++) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

            .build();
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          Gist gist = gistJsonAdapter.fromJson(response.body().source());
    
          for (Map.Entry<String, GistFile> entry : gist.files.entrySet()) {
            System.out.println(entry.getKey());
            System.out.println(entry.getValue().content);
          }
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

      }
    
      @Test
      fun testRedirectsDoNotIncludeTooManyCookies() {
        val redirectTarget = MockWebServer()
        redirectTarget.enqueue(MockResponse.Builder().body("A").build())
        redirectTarget.start()
        val redirectTargetUrl = urlWithIpAddress(redirectTarget, "/")
        val redirectSource = MockWebServer()
        redirectSource.enqueue(
          MockResponse
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top