Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for BODY (0.24 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(response2.body.string()).isEqualTo("def")
        val get = server.takeRequest()
        assertThat(get.sequenceNumber).isEqualTo(0)
        val post1 = server.takeRequest()
        assertThat(post1.body.readUtf8()).isEqualTo("body!")
        assertThat(post1.sequenceNumber).isEqualTo(1)
        val post2 = server.takeRequest()
        assertThat(post2.body.readUtf8()).isEqualTo("body!")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader(headerName, headerValue)
            .body("a")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("b")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("c")
            .build(),
        )
        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("a")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, rec.Code)
    		}
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    		if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. fastapi/routing.py

                try:
                    body: Any = None
                    if body_field:
                        if is_body_form:
                            body = await request.form()
                            file_stack.push_async_callback(body.close)
                        else:
                            body_bytes = await request.body()
                            if body_bytes:
                                json_body: Any = Undefined
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

      if (params.cond_graph == nullptr || params.body_graph == nullptr ||
          params.cond_graph->parent == nullptr ||
          params.cond_graph->parent != params.body_graph->parent ||
          params.cond_graph->parent_inputs != params.body_graph->parent_inputs ||
          params.ninputs <= 0 || params.cond_inputs == nullptr ||
          params.body_inputs == nullptr || params.body_outputs == nullptr) {
        s->status = InvalidArgument(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

            )
        }
        add(FirErrors.ABSTRACT_FUNCTION_WITH_BODY) { firDiagnostic ->
            AbstractFunctionWithBodyImpl(
                firSymbolBuilder.callableBuilder.buildCallableSymbol(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.NON_ABSTRACT_FUNCTION_WITH_NO_BODY) { firDiagnostic ->
            NonAbstractFunctionWithNoBodyImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    				End:            -1,
    			}
    			opts.NoLock = true
    			return getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    		},
    		actualSize,
    	)
    	defer objectRSC.Close()
    	s3Select, err := s3select.NewS3Select(r.Body)
    	if err != nil {
    		if serr, ok := err.(s3select.SelectError); ok {
    			encodedErrorResponse := encodeResponse(APIErrorResponse{
    				Code:       serr.ErrorCode(),
    				Message:    serr.ErrorMessage(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    	defer resp.Body.Close()
    	decoder := json.NewDecoder(resp.Body)
    	if err := decoder.Decode(&ki); err != nil {
    		ki.Error = err.Error()
    	}
    	return ki
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. doc/go1.17_spec.html

    In contrast to other identifiers, labels are not block scoped and do
    not conflict with identifiers that are not labels. The scope of a label
    is the body of the function in which it is declared and excludes
    the body of any nested function.
    </p>
    
    
    <h3 id="Blank_identifier">Blank identifier</h3>
    
    <p>
    The <i>blank identifier</i> is represented by the underscore character <code>_</code>.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. fastapi/applications.py

            separate_input_output_schemas: Annotated[
                bool,
                Doc(
                    """
                    Whether to generate separate OpenAPI schemas for request body and
                    response body when the results would be more precise.
    
                    This is particularly useful when automatically generating clients.
    
                    For example, if you have a model like:
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top