Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Leider (0.42 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. doc/next/6-stdlib/99-minor/archive/tar/50102.md

    If the argument to [FileInfoHeader] implements the new [FileInfoNames]
    interface, then the interface methods will be used to set the Uname/Gname
    of the file header. This allows applications to override the system-dependent
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 243 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        // Body contains nothing.
        assertThat(response.body.bytes().size).isEqualTo(0)
        assertThat(response.body.contentLength()).isEqualTo(0)
    
        // Content-Length header doesn't exist in a 204 response.
        assertThat(response.header("content-length")).isNull()
        assertThat(response.code).isEqualTo(204)
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("GET /foo HTTP/1.1")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. 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)
  9. CREDITS

       b) under the GNU GPL, with none of the additional permissions of
       this License applicable to that copy.
    
      3. Object Code Incorporating Material from Library Header Files.
    
      The object code form of an Application may incorporate material from
    a header file that is part of the Library.  You may convey such object
    code under terms of your choice, provided that, if the incorporated
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  10. 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)
Back to top