Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,054 for body (0.02 sec)

  1. tests/test_regex_deprecated_body.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "string_pattern_mismatch",
                        "loc": ["body", "q"],
                        "msg": "String should match pattern '^fixedquery$'",
                        "input": "nonregexquery",
                        "ctx": {"pattern": "^fixedquery$"},
                    }
                ]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            assertEquals("xyz", new String(resultData.getData(), resultData.getEncoding()));
        }
    
        public void test_transform_html() throws Exception {
            final byte[] data = new String("<html><body>xyz</body></html>").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("file:/test.html");
            responseData.setCharSet(Constants.UTF_8);
            responseData.setResponseBody(data);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/using-request-directly.md

    Das bedeutet allerdings auch, dass, wenn Sie Daten direkt vom `Request`-Objekt nehmen (z. B. dessen Body lesen), diese von FastAPI nicht validiert, konvertiert oder dokumentiert werden (mit OpenAPI, für die automatische API-Benutzeroberfläche).
    
    Obwohl jeder andere normal deklarierte Parameter (z. B. der Body, mit einem Pydantic-Modell) dennoch validiert, konvertiert, annotiert, usw. werden würde.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. ci/official/utilities/generate_index_html.sh

    # presubmits.
    # Usage: generate_index_html.sh /path/to/output/index.html
    
    cat > "$1" <<EOF
    <html>
    <head>
    <title>$(basename "$KOKORO_JOB_NAME")</title>
    </head>
    <body>
    <h1>TensorFlow Job Logs and Links</h1>
    <h2>Job Details</h2>
    <ul>
    <li>Job name: $KOKORO_JOB_NAME</li>
    <li>Job pool: $KOKORO_JOB_POOL</li>
    <li>Job ID: $KOKORO_BUILD_ID</li>
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 20:26:13 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

            )
            .respond(response().withBody("Peter the person!"))
    
          val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py

        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "greater_than",
                        "loc": ["body", "item", "price"],
                        "msg": "Input should be greater than 0",
                        "input": -3.0,
                        "ctx": {"gt": 0.0},
                    }
                ]
            }
        ) | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial001_02_an.py

                                                }
                                            ],
                                            "title": "Body",
                                        }
                                    )
                                    | IsDict(
                                        # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_custom_response/test_tutorial004.py

    client = TestClient(app)
    
    
    html_contents = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
    
    
    def test_get_custom_response():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.jsp

        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.dict_kuromoji_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
        <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include>
        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 27 06:24:23 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
                    + "<field name=\"title\">タイトル</field>\n"//
                    + "<field name=\"body\">第一章 第一節 ほげほげふがふが LINK 第2章 第2節</field>\n"//
                    + "<field name=\"list\"><list><item>リスト1</item><item>リスト2</item><item>リスト3</item></list></field>\n"//
                    + "</doc>";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top