Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JESSE (0.16 sec)

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

          |Content-Type: application/pdf; charset=utf-8
          |
          |Jesse’s Resumé
          |--AaB03x--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("AaB03x")
            .setType(MultipartBody.FORM)
            .addFormDataPart(
              "attachment",
              "resumé.pdf",
              "Jesse’s Resumé".toRequestBody("application/pdf".toMediaTypeOrNull()),
            )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DuplexTest.kt

       * test makes a single call with two duplex requests!
       */
      @Test
      fun duplexWithAuthChallenge() {
        enableProtocol(Protocol.HTTP_2)
        val credential = basic("jesse", "secret")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, null))
            .build()
        val body1 =
          MockStreamHandler()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. docs/recipes.md

                  }
    
                  println("Authenticating for response: $response")
                  println("Challenges: ${response.challenges()}")
                  val credential = Credentials.basic("jesse", "password1")
                  return response.request.newBuilder()
                      .header("Authorization", credential)
                      .build()
                }
              })
              .build()
    
    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