Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for bodies (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       * bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request
       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
       * use this feature.
       *
       * ### Duplex APIs
       *
       * With regular request bodies it is not legal to write bytes to the sink passed to
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    ## Use cases { #use-cases }
    
    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. CHANGELOG.md

        than 63 characters between dots), and empty labels.
     *  New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit
        OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with
        browsers and other HTTP clients.)
     *  New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  4. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info
    
    Notice how `Offer` has a list of `Item`s, which in turn have an optional list of `Image`s
    
    ///
    
    ## Bodies of pure lists { #bodies-of-pure-lists }
    
    If the top level value of the JSON body you expect is a JSON `array` (a Python `list`), you can declare the type in the parameter of the function, the same as in Pydantic models:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

          """
          |Unreadable ResponseBody! These Response objects have bodies that are stripped:
          | * Response.cacheResponse
          | * Response.networkResponse
          | * Response.priorResponse
          | * EventSourceListener
          | * WebSocketListener
          |(It is safe to call contentType() and contentLength() on these response bodies.)
          """.trimMargin(),
        )
    
      override fun timeout() = Timeout.NONE
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:19:53 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

     *  New: Make the content-type header optional for request bodies.
     *  New: `Response.isSuccessful()` is a convenient API to check response codes.
     *  New: The response body can now be read outside of the callback. Response
        bodies must always be closed, otherwise they will leak connections!
     *  New: APIs to create multipart request bodies (`MultipartBuilder`) and form
        encoding bodies (`FormEncodingBuilder`).
    
    ## Version 2.0.0-RC1
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. README.md

    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    ## Installation
    
    ### Maven
    
    Add the dependency to your `pom.xml` (replace `x.y.z` with the latest version):
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/get-current-user.md

    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## Create a `get_current_user` dependency { #create-a-get-current-user-dependency }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

        if the header is absent or its delay is 0 seconds.
     *  New: Allow request bodies for all HTTP methods except GET and HEAD.
     *  New: Automatic module name of `okhttp3` for use with the Java Platform
        Module System.
     *  New: Log gzipped bodies when `HttpLoggingInterceptor` is used as a network
        interceptor.
     *  New: `Protocol.QUIC` constant. This protocol is not supported but this
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  10. docs/es/docs/how-to/conditional-openapi.md

    Si quieres asegurar tu API, hay varias cosas mejores que puedes hacer, por ejemplo:
    
    * Asegúrate de tener modelos Pydantic bien definidos para tus request bodies y responses.
    * Configura los permisos y roles necesarios usando dependencias.
    * Nunca guardes contraseñas en texto plano, solo hashes de contraseñas.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top