Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 103 for Etag (0.03 seconds)

  1. guava-tests/test/com/google/common/net/HttpHeadersTest.java

        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(invalidate.body.string()).isEqualTo("")
        assertThat(get(url).body.string()).isEqualTo("C")
      }
    
      @Test
      fun etag() {
        val conditionalRequest =
          assertConditionallyCached(
            MockResponse
              .Builder()
              .addHeader("ETag: v1")
              .build(),
          )
        assertThat(conditionalRequest.headers["If-None-Match"]).isEqualTo("v1")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        call.cancel()
        assertFailsWith<IOException> {
          call.execute()
        }
        assertThat(server.requestCount).isEqualTo(0)
      }
    
      @Tag("Slowish")
      @Test
      fun cancelDuringHttpConnect() {
        cancelDuringConnect("http")
      }
    
      @Tag("Slowish")
      @Test
      fun cancelDuringHttpsConnect() {
        cancelDuringConnect("https")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("content-length", ""),
          Header("content-location", ""),
          Header("content-range", ""),
          Header("content-type", ""),
          Header("cookie", ""),
          Header("date", ""),
          Header("etag", ""),
          Header("expect", ""),
          Header("expires", ""),
          Header("from", ""),
          Header("host", ""),
          Header("if-match", ""),
          Header("if-modified-since", ""),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/advanced/custom-response.md

    - `path` - 要串流的檔案路徑。
    - `headers` - 要包含的自訂標頭,字典形式。
    - `media_type` - 描述 media type 的字串。若未設定,將根據檔名或路徑推斷 media type。
    - `filename` - 若設定,會包含在回應的 `Content-Disposition` 中。
    
    檔案回應會包含適當的 `Content-Length`、`Last-Modified` 與 `ETag` 標頭。
    
    {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}
    
    你也可以使用 `response_class` 參數:
    
    {* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *}
    
    在此情況下,你可以在「路徑操作函式」中直接回傳檔案路徑。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. doc/godebug.md

    Go 1.23 changed
    [`net/http.ServeContent`](/pkg/net/http#ServeContent),
    [`net/http.ServeFile`](/pkg/net/http#ServeFile), and
    [`net/http.ServeFS`](/pkg/net/http#ServeFS) to
    remove Cache-Control, Content-Encoding, Etag, and Last-Modified headers
    when serving an error. This behavior is controlled by
    the [`httpservecontentkeepheaders` setting](/pkg/net/http#ServeContent).
    Using `httpservecontentkeepheaders=1` restores the pre-Go 1.23 behavior.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 15:49:10 GMT 2026
    - 26K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/custom-response.md

    * `filename` - Ayarlanırsa response içindeki `Content-Disposition`’a dahil edilir.
    
    File response'ları uygun `Content-Length`, `Last-Modified` ve `ETag` header’larını içerir.
    
    {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}
    
    `response_class` parametresini de kullanabilirsiniz:
    
    {* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/custom-response.md

    * `filename` – Wenn gesetzt, wird das in der `Content-Disposition` der Response eingefügt.
    
    Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header.
    
    {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}
    
    Sie können auch den Parameter `response_class` verwenden:
    
    {* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/custom-response.md

    * `filename` - Si se establece, se incluirá en el response `Content-Disposition`.
    
    Los responses de archivos incluirán los headers apropiados `Content-Length`, `Last-Modified` y `ETag`.
    
    {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}
    
    También puedes usar el parámetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/custom-response.md

    - `filename` — если задан, будет включён в заголовок ответа `Content-Disposition`.
    
    Файловые ответы будут содержать соответствующие заголовки `Content-Length`, `Last-Modified` и `ETag`.
    
    {* ../../docs_src/custom_response/tutorial009_py310.py hl[2,10] *}
    
    Вы также можете использовать параметр `response_class`:
    
    {* ../../docs_src/custom_response/tutorial009b_py310.py hl[2,8,10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
Back to Top