Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 628 for Rewrite (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

          Buffer()
            .write(this)
            .asResponseBody(contentType, size.toLong())
    
        /** Returns a new response body that transmits this byte string. */
        @JvmStatic
        @JvmName("create")
        fun ByteString.toResponseBody(contentType: MediaType? = null): ResponseBody =
          Buffer()
            .write(this)
            .asResponseBody(contentType, size.toLong())
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

    import org.junit.jupiter.api.extension.RegisterExtension
    
    class CompressionInterceptorTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      val source =
        Buffer().apply {
          write("Hello World".encodeUtf8())
        } as Source
    
      @Test
      fun emptyDoesntChangeRequestOrResponse() {
        val empty = CompressionInterceptor()
        val client =
          clientTestRule
            .newClientBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
        val source = response.body.source()
        while (!source.exhausted()) {
          out.write(source.buffer, source.buffer.size)
          out.flush()
        }
    
        response.body.close()
      } catch (e: IOException) {
        e.printStackTrace()
      } finally {
        close()
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    - To run `make test` and `make build` completes.
    
    ### Commit changes
    
    After verification, commit your changes. This is a [great post](https://chris.beams.io/posts/git-commit/) on how to write useful commit messages
    
    ```
    git commit -am 'Add some feature'
    ```
    
    ### Push to the branch
    
    Push your locally committed changes to the remote origin (your fork)
    
    ```
    git push origin my-new-feature
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 05 18:35:53 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. docs/sts/dex.md

    ## Prerequisites
    
    Install Dex by following [Dex Getting Started Guide](https://dexidp.io/docs/getting-started/)
    
    ### Start Dex
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      RecordedRequest(
        requestLine = requestLine,
        headers = headers,
        chunkSizes = chunkSizes ?: listOf(),
        bodySize = bodySize,
        body = Buffer().write(body ?: ByteString.EMPTY),
        sequenceNumber = exchangeIndex,
        failure = failure,
        method = method,
        path = target,
        handshake = handshake,
        requestUrl = url,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 4.1K bytes
    - Click Count (1)
  7. .github/workflows/translate.yml

        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
            command: ${{ fromJson(needs.langs.outputs.commands) }}
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
            with:
              fetch-depth: 0
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:48:45 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

                 OutputStreamWriter outputStream = new OutputStreamWriter(new FileOutputStream(destination), outputEncoding)) {
                String html = renderer.render(parser.parseReader(inputStream));
                outputStream.write(html);
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*.
    
    /// check
    
    Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ## Write the callback documentation code { #write-the-callback-documentation-code }
    
    This code won't be executed in your app, we only need it to *document* how that *external API* should look like.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top