Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,178 for Applications (0.09 seconds)

  1. module-tests/build.gradle.kts

    import okhttp3.buildsupport.testJavaVersion
    
    plugins {
      id("okhttp.base-conventions")
      id("java")
      id("application")
      alias(libs.plugins.jlink)
      alias(libs.plugins.extra.java.module.info)
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.loggingInterceptor)
    
      // Force version 26.0.2-1 which is a proper JPMS module, unlike transitive 13.0
      implementation(libs.jetbrains.annotations)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

          Request
            .Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  3. docs_src/response_directly/tutorial002_py310.py

        <shampoo>
        <Header>
            Apply shampoo here.
        </Header>
        <Body>
            You'll have to use soap here.
        </Body>
        </shampoo>
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 354 bytes
    - Click Count (0)
  4. docs/en/docs/advanced/templates.md

    You can use any template engine you want with **FastAPI**.
    
    A common choice is Jinja2, the same one used by Flask and other tools.
    
    There are utilities to configure it easily that you can use directly in your **FastAPI** application (provided by Starlette).
    
    ## Install dependencies { #install-dependencies }
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and install `jinja2`:
    
    <div class="termy">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. docs/en/docs/fastapi-cli.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Waiting for application startup.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    /// tip
    
    For production you would use `fastapi run` instead of `fastapi dev`. 🚀
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/net/URLUtil.java

        /**
         * Converts a string into <code>application/x-www-form-urlencoded</code>
         * format using the specified encoding scheme.
         *
         * @param s
         *            The string to be converted. Must not be {@literal null} or empty.
         * @param enc
         *            The encoding scheme. Must not be {@literal null} or empty.
         * @return The string encoded in <code>application/x-www-form-urlencoded</code> format.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_additional_responses/test_tutorial003.py

                                "404": {
                                    "description": "The item was not found",
                                    "content": {
                                        "application/json": {
                                            "schema": {
                                                "$ref": "#/components/schemas/Message"
                                            }
                                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  8. README.md

    import org.codelibs.curl.CurlResponse;
    
    try (CurlResponse response = Curl.get("https://example.com")
                                    .param("q", "curl4j")
                                    .header("Accept", "application/json")
                                    .execute()) {
        System.out.println("Status: " + response.getHttpStatusCode());
        System.out.println(response.getContentAsString());
    }
    ```
    
    ### Asynchronous request
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_additional_responses/test_tutorial002.py

                                    "description": "Return the JSON item or an image.",
                                    "content": {
                                        "image/png": {},
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Item"}
                                        },
                                    },
                                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(body!!.contentType().toString()).isEqualTo(
          "application/x-www-form-urlencoded; charset=utf-8",
        )
        assertThat(bodyAsString(body)).isEqualTo("foo")
      }
    
      @Test
      fun contentTypeHeader() {
        val request =
          fromArgs(
            "-d",
            "foo",
            "-H",
            "Content-Type: application/json",
            "http://example.com",
          ).createRequest()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top