Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for body (0.18 sec)

  1. cmd/test-utils_test.go

    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    	return req, nil
    }
    
    func assembleStreamingChunks(req *http.Request, body io.ReadSeeker, chunkSize int64,
    	secretKey, signature string, currTime time.Time) (*http.Request, error,
    ) {
    	regionStr := globalSite.Region
    	var stream []byte
    	var buffer []byte
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val body = repeat('y', 2048)
        server.enqueue(
          MockResponse.Builder()
            .body(body)
            .throttleBody(1024, 1, TimeUnit.SECONDS)
            .build(),
        ) // Slow connection 1KiB/second.
        server.enqueue(
          MockResponse(body = body),
        )
        client =
          client.newBuilder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. tests/test_generate_unique_id_function.py

                            },
                        },
                    }
                },
            },
            "components": {
                "schemas": {
                    "Body_foo_post_root": {
                        "title": "Body_foo_post_root",
                        "required": ["item1", "item2"],
                        "type": "object",
                        "properties": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          MockResponse.Builder()
            .body("abc")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.body.close()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

    //   edges going from nodes referenced in `inputs` to nodes in the body when
    //   the former nodes are not in the body (automatically skipped or not
    //   included in explicitly specified body).
    //
    // Returns:
    //  On success, a newly created TF_Function instance. It must be deleted by
    //  calling TF_DeleteFunction.
    //
    //  On failure, null.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  6. docs/changelogs/changelog_3x.md

     *  Fix: Prefer the server's response body on all conditional cache misses. Previously we would
        return the cached response's body if it had a newer `Last-Modified` date.
     *  Fix: Update the stored timestamp on conditional cache hits.
     *  New: Optimized HTTP/2 request header encoding. More headers are HPACK-encoded and string
        literals are now Huffman-encoded.
     *  New: Expose `Part` headers and body in `Multipart`.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  7. fastapi/param_functions.py

                key instead of being the JSON body itself.
    
                This happens automatically when more than one `Body` parameter is declared.
    
                Read more about it in the
                [FastAPI docs for Body - Multiple Parameters](https://fastapi.tiangolo.com/tutorial/body-multiple-params/#embed-a-single-body-parameter).
                """
            ),
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	body, err := json.Marshal(gdesc)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, body)
    }
    
    // ListGroups - GET /minio/admin/v3/groups
    func (a adminAPIHandlers) ListGroups(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

        TF_Operation* add1 = Add(params->body_inputs[0], params->body_inputs[1],
                                 params->body_graph, s_, "add1");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Operation* one = ScalarConst(1, params->body_graph, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Operation* add2 = Add(add1, one, params->body_graph, s_, "add2");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        buf.append('{').append(escapeJsonKeyValue(DOC_ID_FIELD, docIdList.get(i))).append('}');
                    }
                }
                buf.append(']');
                body = buf.toString();
                writeJsonResponse(HttpServletResponse.SC_OK, body);
            } catch (final WebApiException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a favorites request.", e);
                }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
Back to top