Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for github (4.97 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

     */
    package okhttp3.curl
    
    import com.github.ajalt.clikt.core.CliktCommand
    import com.github.ajalt.clikt.parameters.arguments.argument
    import com.github.ajalt.clikt.parameters.options.default
    import com.github.ajalt.clikt.parameters.options.flag
    import com.github.ajalt.clikt.parameters.options.multiple
    import com.github.ajalt.clikt.parameters.options.option
    import com.github.ajalt.clikt.parameters.types.int
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  2. deploy_website.sh

    #!/bin/bash
    
    # The website is built using MkDocs with the Material theme.
    # https://squidfunk.github.io/mkdocs-material/
    # It requires python3 to run.
    
    set -ex
    
    REPO="git@github.com:square/okhttp.git"
    DIR=temp-clone
    
    # Delete any existing temporary website clone
    rm -rf $DIR
    
    # Clone the current repo into temp folder
    git clone $REPO $DIR
    # Replace `git clone` with these lines to hack on the website locally
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     [okio.FileSystem]: https://square.github.io/okio/file_system/
     [okio_2_6_0]: https://square.github.io/okio/changelog/#version-260
     [okio_2_7_0]: https://square.github.io/okio/changelog/#version-270
     [okio_3_0_0]: https://square.github.io/okio/changelog/#version-300
     [okio_3_2_0]: https://square.github.io/okio/changelog/#version-320
     [okio_3_6_0]: https://square.github.io/okio/changelog/#version-360
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. gradle/libs.versions.toml

    gradlePlugin-shadow = "gradle.plugin.com.github.johnrengelman:shadow:8.0.0"
    gradlePlugin-spotless = "com.diffplug.spotless:spotless-plugin-gradle:6.25.0"
    guava-jre = "com.google.guava:guava:33.1.0-jre"
    hamcrestLibrary = "org.hamcrest:hamcrest-library:2.2"
    httpClient5 = "org.apache.httpcomponents.client5:httpclient5:5.3"
    jettyClient = "org.eclipse.jetty:jetty-client:9.4.54.v20240208"
    jnr-unixsocket = "com.github.jnr:jnr-unixsocket:0.38.22"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 902 bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

    import assertk.assertions.isEqualTo
    import okhttp3.internal.http2.hpackjson.HpackJsonUtil
    import okhttp3.internal.http2.hpackjson.Story
    import okio.Buffer
    
    /**
     * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/
     */
    open class HpackDecodeTestBase {
      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
      fun hostToUriStripsCharacters2() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. mockwebserver/README.md

    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    ```java
    public void test() throws Exception {
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

     * [Twitter Hpack][twitter_hpack].
     *
     *  * `com.twitter.hpack.HuffmanEncoder`
     *  * `com.twitter.hpack.HuffmanDecoder`
     *  * `com.twitter.hpack.HpackUtil`
     *
     * [twitter_hpack]: https://github.com/twitter/hpack
     */
    object Huffman {
      // Appendix C: Huffman Codes
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-B
      private val CODES =
        intArrayOf(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

          assertThat(response.body.string()).isEqualTo("abc")
          assertThat(response.trailers()).isEqualTo(headersOf("caboose", "xyz"))
        }
      }
    
      @Disabled("Follow up with fix in https://github.com/square/okhttp/issues/6853")
      @Test
      fun serverDisconnectsBeforeSecondRequestHttp1() {
        enableProtocol(Protocol.HTTP_1_1)
    
        server.enqueue(MockResponse(code = 200, body = "Req1"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top