- Sort Score
- Num 10 results
- Language All
Results 1401 - 1410 of 1,765 for header (0.04 seconds)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} } private fun headersToList(response: MockResponse): List<String> { val headers = response.headers val size = headers.size val headerList: MutableList<String> = ArrayList(size) for (i in 0 until size) { headerList.add(headers.name(i) + ": " + headers.value(i)) } return headerList } @Test fun shutdownWithoutStart() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
* <li>ROBOTS_TXT_ENABLED_PROPERTY: Enable or disable robots.txt parsing.</li> * <li>AUTHENTICATIONS_PROPERTY: Web authentications.</li> * <li>REQUEST_HEADERS_PROPERTY: Custom request headers.</li> * <li>REDIRECTS_ENABLED: Enable or disable HTTP redirects.</li> * <li>COOKIES_PROPERTY: Cookie settings.</li> * <li>AUTH_SCHEME_PROVIDERS_PROPERTY: Authentication scheme providers.</li>
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 08 04:17:06 GMT 2026 - 4.8K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
/// ## Add custom headers { #add-custom-headers } There are some situations in where it's useful to be able to add custom headers to the HTTP error. For example, for some types of security. You probably won't need to use it directly in your code. But in case you needed it for an advanced scenario, you can add custom headers: {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/https.md
## 代理轉發標頭 { #proxy-forwarded-headers } 當你使用代理處理 HTTPS 時,你的**應用伺服器**(例如透過 FastAPI CLI 啟動的 Uvicorn)其實不知道任何 HTTPS 的處理流程,它是用純 HTTP 與 **TLS 終止代理**通訊。 這個**代理**通常會在把請求轉發給**應用伺服器**之前,臨時加入一些 HTTP 標頭,讓應用伺服器知道該請求是由代理**轉發**過來的。 /// note | 技術細節 這些代理標頭包括: * [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 11.8K bytes - Click Count (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py
assert response.status_code == 200, response.text client = TestClient(app) response = client.get("/", follow_redirects=False) assert response.status_code == 307, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 480 bytes - Click Count (0) -
docs/en/docs/reference/response.md
# `Response` class You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies. You can also use it directly to create an instance of it and return it from your *path operations*. Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 559 bytes - Click Count (0) -
docs/de/docs/deployment/docker.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 32.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
System.nanoTime(), call, ), ) override fun requestHeadersEnd( call: Call, request: Request, ) = onEvent(RequestHeadersEnd(System.nanoTime(), call, request.headers.byteCount())) override fun requestBodyStart(call: Call) = onEvent( RequestBodyStart( System.nanoTime(), call, ), ) override fun requestBodyEnd(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_py310.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 976 bytes - Click Count (0) -
cmd/warm-backend-minio.go
// Part size. partSize = int64(partSizeFlt) if partSize == 0 { return minPartSize, nil } return partSize, nil } func (m *warmBackendMinIO) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) { partSize, err := optimalPartSize(length) if err != nil { return remoteVersionID(""), err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4K bytes - Click Count (1)