Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,225 for clientX (0.04 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      // Use mock server so we are strictly testing OkHttp client only in this test.
      // We should test MockWebServer later.
      @Container
      val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE)
    
      val capturedOut = ByteArrayOutputStream()
    
      private lateinit var executor: ExecutorService
    
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        platform.assumeLoom()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  2. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

            Dns.SYSTEM.lookup(server.hostName)
          }
    
        val client =
          clientTestRule
            .newClientBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).dns(dns)
            .build()
    
        server.enqueue(MockResponse())
    
        val call =
          client.newCall(
            Request(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/header-param-models.md

    Puedes usar la configuración del modelo de Pydantic para `prohibir` cualquier campo `extra`:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    Si un cliente intenta enviar algunos **headers extra**, recibirán un response de **error**.
    
    Por ejemplo, si el cliente intenta enviar un header `tool` con un valor de `plumbus`, recibirán un response de **error** indicando que el parámetro de header `tool` no está permitido:
    
    ```json
    {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. Dockerfile.hotfix

        chmod +x /go/bin/minio
    
    # Download mc binary and signature files
    RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /go/bin/mc && \
        curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.minisig -o /go/bin/mc.minisig && \
        curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.sha256sum -o /go/bin/mc.sha256sum && \
        chmod +x /go/bin/mc
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

              throw ProtocolException("Received HTTP_PROXY_AUTH (407) code while not using proxy")
            }
            return client.proxyAuthenticator.authenticate(route, userResponse)
          }
    
          HTTP_UNAUTHORIZED -> return client.authenticator.authenticate(route, userResponse)
    
          HTTP_PERM_REDIRECT, HTTP_TEMP_REDIRECT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

     * [Autobahn Testsuite](http://autobahn.ws/testsuite/).
     */
    class AutobahnTester {
      val client = OkHttpClient()
    
      private fun newWebSocket(
        path: String,
        listener: WebSocketListener,
      ): WebSocket {
        val request =
          Request
            .Builder()
            .url(HOST + path)
            .build()
        return client.newWebSocket(request, listener)
      }
    
      fun run() {
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/response-status-code.md

    * **`300`** y superiores son para "Redirección". Los responses con estos códigos de estado pueden o no tener un body, excepto `304`, "Not Modified", que no debe tener uno.
    * **`400`** y superiores son para responses de "Error del Cliente". Este es el segundo tipo que probablemente más usarías.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         *            negotiated cipher identifier
         * @param dialect
         *            SMB dialect version
         * @param encryptionKey
         *            key for client->server encryption
         * @param decryptionKey
         *            key for server->client decryption
         */
        public Smb2EncryptionContext(final int cipherId, final DialectVersion dialect, final byte[] encryptionKey, final byte[] decryptionKey) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      val listener = RecordingEventListener()
    
      fun setUp(mode: Pair<CancelMode, ConnectionType>) {
        this.cancelMode = mode.first
        this.connectionType = mode.second
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

    import okhttp3.Request
    
    class PostForm {
      private val client = OkHttpClient()
    
      fun run() {
        val formBody =
          FormBody
            .Builder()
            .add("search", "Jurassic Park")
            .build()
        val request =
          Request(
            url = "https://en.wikipedia.org/w/index.php".toHttpUrl(),
            body = formBody,
          )
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top