Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Leider (0.21 sec)

  1. docs/en/docs/advanced/custom-response.md

    * `headers` - A `dict` of strings.
    * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
    
    FastAPI (actually Starlette) will automatically include a Content-Length header. It will also include a Content-Type header, based on the media_type and appending a charset for text types.
    
    ```Python hl_lines="1  18"
    {!../../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

    import okhttp3.internal.commonNoStore
    import okhttp3.internal.commonNoTransform
    import okhttp3.internal.commonOnlyIfCached
    import okhttp3.internal.commonParse
    import okhttp3.internal.commonToString
    
    /**
     * A Cache-Control header with cache directives from a server or client. These directives set policy
     * on what responses can be stored, and which requests can be satisfied by those stored responses.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          frameHeader(
            streamId = 0,
            length = 0,
            type = TYPE_SETTINGS,
            flags = FLAG_ACK,
          )
          sink.flush()
        }
      }
    
      /**
       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/simple-oauth2.md

        ```
    
    !!! info
        The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
        Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
        In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
        You can actually skip that extra header and it would still work.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        internal val reader: Http2Reader,
      ) : Http2Reader.Handler, () -> Unit {
        override fun invoke() {
          var connectionErrorCode = ErrorCode.INTERNAL_ERROR
          var streamErrorCode = ErrorCode.INTERNAL_ERROR
          var errorException: IOException? = null
          try {
            reader.readConnectionPreface(this)
            while (reader.nextFrame(false, this)) {
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/BUILD

    )
    
    filegroup(
        name = "pywrap_headers_monitoring_reader",
        srcs = [
            "c_api_experimental_reader.h",
            "tfe_monitoring_reader_internal.h",
        ],
        visibility = ["//tensorflow:__subpackages__"],
    )
    
    filegroup(
        name = "headers_monitoring_reader",
        srcs = [
            "c_api_experimental_reader.h",
        ],
        visibility = ["//tensorflow:__subpackages__"],
    )
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val proxyConnectRequest =
          Request.Builder()
            .url(route.address.url)
            .method("CONNECT", null)
            .header("Host", route.address.url.toHostHeader(includeDefaultPort = true))
            .header("Proxy-Connection", "Keep-Alive") // For HTTP/1.0 proxies like Squid.
            .header("User-Agent", USER_AGENT)
            .build()
    
        val fakeAuthChallengeResponse =
          Response.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. .space/CODEOWNERS

    /native/ "Kotlin Native"
    /native/analysis-api-klib-reader/ "Kotlin Native" "Kotlin in Fleet"
    /native/commonizer/ "Kotlin Apple Ecosystem"
    /native/commonizer-api/ "Kotlin Apple Ecosystem"
    /native/commonizer-embeddable/ "Kotlin Apple Ecosystem"
    /native/objcexport-header-generator/ "Kotlin Native" "Kotlin in Fleet"
    /native/objcexport-header-generator/impl/analysis-api/ "Kotlin in Fleet"
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. CHANGELOG.md

        This includes overly-long domain names (longer than 253 characters), overly-long labels (more
        than 63 characters between dots), and empty labels.
     *  New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit
        OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with
        browsers and other HTTP clients.)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top