Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for responseBody (0.06 seconds)

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            private final ByteArrayOutputStream capturedOutput = new ByteArrayOutputStream();
            private final String responseBody;
    
            OutputCapturingMockHttpURLConnection(URL u, String responseBody) {
                super(u);
                this.responseBody = responseBody;
            }
    
            @Override
            public void disconnect() {
            }
    
            @Override
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  2. docs/recipes.md

                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();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        }
      }
    
      private class CacheResponseBody(
        val snapshot: DiskLruCache.Snapshot,
        private val contentType: String?,
        private val contentLength: String?,
      ) : ResponseBody() {
        private val bodySource: BufferedSource
    
        init {
          val source = snapshot.getSource(ENTRY_BODY)
          bodySource =
            object : ForwardingSource(source) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/response-status-code.md

    /// note | Hinweis
    
    Einige Responsecodes (siehe nächsten Abschnitt) kennzeichnen, dass die Response keinen Body hat.
    
    FastAPI erkennt dies und erstellt eine OpenAPI-Dokumentation, die zeigt, dass es keinen Responsebody gibt.
    
    ///
    
    ## Über HTTP-Statuscodes { #about-http-status-codes }
    
    /// note | Hinweis
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. docs/de/docs/_llm-test.md

    * die Anwendung
    
    * der Request
    * die Response
    * die Error-Response
    
    * die Pfadoperation
    * der Pfadoperation-Dekorator
    * die Pfadoperation-Funktion
    
    * der Body
    * der Requestbody
    * der Responsebody
    * der JSON-Body
    * der Formularbody
    * der Dateibody
    * der Funktionskörper
    
    * der Parameter
    * der Body-Parameter
    * der Pfad-Parameter
    * der Query-Parameter
    * der Cookie-Parameter
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/custom-response.md

    ### `StreamingResponse` { #streamingresponse }
    
    Nimmt einen asynchronen Generator oder einen normalen Generator/Iterator (eine Funktion mit `yield`) und streamt den Responsebody.
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | Technische Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.TestUtil.assumeNotWindows
    import okhttp3.TestUtil.awaitGarbageCollection
    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.RecordingOkAuthenticator
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        shouldWriteToCache: Boolean,
        responseCode: Int,
        method: String = "GET",
      ) {
        var expectedResponseCode = responseCode
        val server = MockWebServer()
        val builder =
          MockResponse
            .Builder()
            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .code(responseCode)
            .body("ABCDE")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
Back to Top