Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PROPFIND (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/HttpMethod.kt

      fun permitsRequestBody(method: String): Boolean = !(method == "GET" || method == "HEAD")
    
      fun redirectsWithBody(method: String): Boolean = method == "PROPFIND"
    
      fun redirectsToGet(method: String): Boolean = method != "PROPFIND"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

            Request.Builder()
              .url(server.url("/page1"))
              .method("PROPFIND", "Request Body".toRequestBody("text/plain".toMediaType()))
              .build(),
          ).execute()
    
        // then
        assertThat(response.body.string()).isEqualTo("Page 2")
        val page1 = server.takeRequest()
        assertThat(page1.requestLine).isEqualTo("PROPFIND /page1 HTTP/1.1")
        assertThat(page1.body.readUtf8()).isEqualTo("Request Body")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top