Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,021 for APPLICATION (0.06 seconds)

  1. docs/en/docs/tutorial/bigger-applications.md

    # Bigger Applications - Multiple Files { #bigger-applications-multiple-files }
    
    If you are building an application or a web API, it's rarely the case that you can put everything in a single file.
    
    **FastAPI** provides a convenience tool to structure your application while keeping all the flexibility.
    
    /// info
    
    If you come from Flask, this would be the equivalent of Flask's Blueprints.
    
    ///
    
    ## An example file structure { #an-example-file-structure }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/wsgi.md

    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md), [Behind a Proxy](behind-a-proxy.md).
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware` { #using-wsgimiddleware }
    
    /// info
    
    This requires installing `a2wsgi` for example with `pip install a2wsgi`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  3. 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)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

                mimeType = "text/html";
            } else if (response instanceof JsonResponse) {
                mimeType = "application/json";
            } else if (response instanceof XmlResponse) {
                mimeType = "text/xml";
            } else if (response instanceof StreamResponse) {
                mimeType = "application/octet-stream";
            } else {
                logger.debug("Unknown response: response={}", response);
                return;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. .teamcity/test-buckets.json

              "antlr",
              "base-diagnostics",
              "file-watching",
              "ide",
              "ide-native",
              "kotlin-dsl",
              "platform-base",
              "plugins-application",
              "plugins-java-library",
              "software-diagnostics",
              "test-kit"
            ],
            "parallelizationMethod": {
              "name": "TestDistribution"
            }
          },
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 118.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

    import okio.BufferedSource
    import okio.ByteString
    import okio.use
    
    /**
     * A one-shot stream from the origin server to the client application with the raw bytes of the
     * response body. Each response body is supported by an active connection to the webserver. This
     * imposes both obligations and limits on the client application.
     *
     * ### The response body must be closed.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 11.6K 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