Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,054 for body (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              }
              closeActiveExchange = false
              return response
            }
    
            val followUpBody = followUp.body
            if (followUpBody != null && followUpBody.isOneShot()) {
              closeActiveExchange = false
              return response
            }
    
            response.body.closeQuietly()
    
            if (++followUpCount > MAX_FOLLOW_UPS) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. internal/config/policy/opa/config.go

    func (o *Opa) IsAllowed(args policy.Args) (bool, error) {
    	if o == nil {
    		return false, nil
    	}
    
    	// OPA input
    	body := make(map[string]interface{})
    	body["input"] = args
    
    	inputBytes, err := json.Marshal(body)
    	if err != nil {
    		return false, err
    	}
    
    	req, err := http.NewRequest(http.MethodPost, o.args.URL.String(), bytes.NewReader(inputBytes))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_form_models/test_tutorial002.py

        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["body", "username"],
                    "msg": "Field required",
                    "input": {},
                },
                {
                    "type": "missing",
                    "loc": ["body", "password"],
                    "msg": "Field required",
                    "input": {},
                },
            ]
        }
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
          clientTestRule.newClientBuilder()
            .proxy(socksProxy.proxy())
            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("abc")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_optional.py

                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "grant_type"],
                        "msg": "Field required",
                        "input": None,
                    },
                    {
                        "type": "missing",
                        "loc": ["body", "username"],
                        "msg": "Field required",
                        "input": None,
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/systeminfo/admin_systeminfo.jsp

                                    <la:message key="labels.system_info_env_title"/>
                                </h3>
                            </div>
                            <%-- Card Body --%>
                            <div class="card-body">
    								<textarea id="envData" class="systemInfoData form-control"
                                              readonly>
    <c:forEach var="item" items="${envItems}">${f:h(item.label)}=${f:h(item.value)}
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    import com.github.javaparser.ast.body.AnnotationDeclaration
    import com.github.javaparser.ast.body.AnnotationMemberDeclaration
    import com.github.javaparser.ast.body.BodyDeclaration
    import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration
    import com.github.javaparser.ast.body.ConstructorDeclaration
    import com.github.javaparser.ast.body.EnumConstantDeclaration
    import com.github.javaparser.ast.body.EnumDeclaration
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <aaa>ccc</bbb> </p> </body></html>";
            document = getDocument(data);
            value = transformer.getSingleNodeValue(document, "//BODY", node -> node);
            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <!-- test -->ccc<!-- test --> </p> </body></html>";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

            return DELETE_ENDPOINT_SUFFIX;
        }
    
        protected Response checkDeleteMethod(final Map<String, Object> body) {
            return checkMethodBase(body).delete(getApiPath() + "/");
        }
    
        @Test
        void testInstalled_ok() {
            checkGetMethod(Collections.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
        @Test
        void testAvailable_ok() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. internal/rest/client.go

    func (c *Client) newRequest(ctx context.Context, method string, u url.URL, body io.Reader) (*http.Request, error) {
    	rc, ok := body.(io.ReadCloser)
    	if !ok && body != nil {
    		rc = io.NopCloser(body)
    	}
    	req := &http.Request{
    		Method:     method,
    		URL:        &u,
    		Proto:      "HTTP/1.1",
    		ProtoMajor: 1,
    		ProtoMinor: 1,
    		Header:     make(http.Header),
    		Body:       rc,
    		Host:       u.Host,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top