Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Fontaine (0.17 sec)

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

    import org.testcontainers.containers.Network
    import org.testcontainers.junit.jupiter.Container
    import org.testcontainers.junit.jupiter.Testcontainers
    import org.testcontainers.utility.DockerImageName
    
    @Testcontainers
    class SocksProxyTest {
      val network: Network = Network.newNetwork()
    
      @Container
      val mockServer: MockServerContainer =
        MockServerContainer(MOCKSERVER_IMAGE)
          .withNetwork(network)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. container-tests/README.md

    OkHttp Container Tests
    ======================
    
    This module contains tests against other services
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 09:58:21 GMT 2024
    - 113 bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
     * The second element on each line is a mapping type, like `valid` or `mapped`.
     *
     * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        server.setDispatcher(this);
        server.start(port);
      }
    
      @Override public MockResponse dispatch(RecordedRequest request) {
        String path = request.getPath();
        try {
          if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
    
          File file = new File(root + path);
          return file.isDirectory()
              ? directoryToResponse(path, file)
              : fileToResponse(path, file);
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        }
    
      private fun String.toRule(): ByteString? {
        if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null
        if (contains(WILDCARD_CHAR)) {
          assertWildcardRule(this)
        }
        return encodeUtf8()
      }
    
      data class ImportResults(
        val sortedRules: SortedSet<ByteString>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
     * direct translation of the pseudocode presented there.
     *
     * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RecordedResponse.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isBetween
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/security/security.md

    
    ## Reporting a Vulnerability
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    guidelines at https://bugcrowd.com/squareopensource
    
    
    ## Verifying Artifacts
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 27 10:19:17 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

          for (Certificate certificate : chain.connection().handshake().peerCertificates()) {
            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
          return chain.proceed(chain.request());
        }
      };
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

    import java.security.cert.CertificateFactory
    import java.security.cert.X509Certificate
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.toByteString
    
    /**
     * Decodes a multiline string that contains a [certificate][certificatePem] which is
     * [PEM-encoded][rfc_7468]. A typical input string looks like this:
     *
     * ```
     * -----BEGIN CERTIFICATE-----
     * MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVl
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (2)
Back to top