Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Guava (0.11 sec)

  1. docs/changelogs/changelog_2x.md

        `OkUrlFactory `responses.
     *  Fix: Don't include a default User-Agent header in requests made with the Call
        API. Requests made with OkUrlFactory will continue to have a default user
        agent.
     *  New: Guava-like API to create headers:
    
        ```java
        Headers headers = Headers.of(name1, value1, name2, value2, ...).
        ```
    
     *  New: Make the content-type header optional for request bodies.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  2. docs/recipes.md

    ### Accessing Headers ([.kt][AccessHeadersKotlin], [.java][AccessHeadersJava])
    
    Typically HTTP headers work like a `Map<String, String>`: each field has one value or none. But some headers permit multiple values, like Guava's [Multimap](https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Multimap.html). For example, it's legal and common for an HTTP response to supply multiple `Vary` headers. OkHttp's APIs attempt to make both cases comfortable.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
Back to top