Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for apps (0.12 sec)

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

      }
    
      @Test
      fun flushAfterStreamTransmittedWithNoLengthHeaders() {
        testFlushAfterStreamTransmitted(TransferKind.END_OF_STREAM)
      }
    
      /**
       * We explicitly permit apps to close the upload stream even after it has been transmitted.  We
       * also permit flush so that buffered streams can do a no-op flush when they are closed.
       * http://b/3038470
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

       */
      @Throws(IOException::class)
      private fun cacheWritingResponse(
        cacheRequest: CacheRequest?,
        response: Response,
      ): Response {
        // Some apps return a null body; for compatibility we treat that like a null cache request.
        if (cacheRequest == null) return response
        val cacheBodyUnbuffered = cacheRequest.body()
    
        val source = response.body.source()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .commonName("cash.app")
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo("CN=cash.app")
      }
    
      @Test
      fun organizationalUnit() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .organizationalUnit("cash")
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

      }
    
      @Test
      fun regularHostname() {
        val recordedRequest = requestToHostnameViaProxy("cash.app")
        assertThat(recordedRequest.requestUrl!!.host).isEqualTo("cash.app")
        assertThat(recordedRequest.handshakeServerNames).containsExactly("cash.app")
      }
    
      /**
       * Connect to [hostnameOrIpAddress] and return what was received. To fake an arbitrary hostname we
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (1)
  5. android-test-app/src/main/res/values/strings.xml

    <resources>
      <string name="app_name">android-test</string>
    XML
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 73 bytes
    - Viewed (0)
  6. mockwebserver/README.md

    MockWebServer
    =============
    
    A scriptable web server for testing HTTP clients
    
    
    ### Motivation
    
    This library makes it easy to test that your app Does The Right Thing when it
    makes HTTP and HTTPS calls. It lets you specify which responses to return and
    then verify that requests were made as expected.
    
    Because it exercises your full HTTP stack, you can be confident that you're
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  7. android-test-app/src/main/AndroidManifest.xml

      <uses-permission android:name="android.permission.INTERNET" />
    
      <application
        android:allowBackup="true"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:name=".TestApplication"
      >
        <activity
          android:name=".MainActivity"
          android:exported="true">
          <intent-filter>
    XML
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 683 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

     *
     * Supported on OpenJDK 9+ via SSLParameters and SSLSocket features.
     *
     * ### Trust Manager Extraction
     *
     * Supported on Android 2.3+ and OpenJDK 7+. There are no public APIs to recover the trust
     * manager that was used to create an [SSLSocketFactory].
     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val extension =
          Extension(
            SUBJECT_ALTERNATIVE_NAME,
            false,
            listOf(
              generalNameDnsName to "cash.app",
              generalNameDnsName to "www.cash.app",
            ),
          )
        val bytes = "30210603551d11041a30188208636173682e617070820c7777772e636173682e617070".decodeHex()
    
        assertThat(CertificateAdapters.extension.toDer(extension))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  10. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    package okhttp3.android
    
    import android.app.Application
    import android.content.Context
    import androidx.test.core.app.ApplicationProvider
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import java.net.InetAddress
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top