- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 799 for tenders (0.1 seconds)
-
cmd/signature-v4_test.go
"response-content-type": "application/json", }, headers: map[string]string{ "X-Amz-Date": now.Format(iso8601Format), "X-Amz-Content-Sha256": payloadSHA256, }, region: "", expected: ErrSignatureDoesNotMatch, }, // (9) Should error with unsigned headers. { queryParams: map[string]string{ "X-Amz-Algorithm": signV4Algorithm,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 10.5K bytes - Click Count (0) -
CHANGELOG.md
chain and an untrusted-but-pinned chain. * Upgrade: [Kotlin 1.6.10][kotlin_1_6_10]. ## Version 5.0.0-alpha.3 _2021-11-22_ * Fix: Change `Headers.toString()` to redact authorization and cookie headers. * Fix: Don't do DNS to get the hostname for `RecordedRequest.requestUrl`. This was doing a DNS lookup for the local hostname, but we really just wanted the `Host` header.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2) -
docs/zh/docs/advanced/response-cookies.md
{* ../../docs_src/response_cookies/tutorial002.py hl[1,8:9] *} 而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。 如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。 **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。 你也可以在depend中定义`Response`参数,并设置cookie和header。 ## 直接响应 `Response` 你还可以在直接响应`Response`时直接创建cookies。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 2.1K bytes - Click Count (0) -
docs_src/security/tutorial004_an_py310.py
async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 4.1K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt
val request = createRequest() try { val response = client!!.newCall(request).execute() if (showHeaders) { println(StatusLine.get(response)) val headers = response.headers for ((name, value) in headers) { println("$name: $value") } println() } // Stream the response to the System.out as it is returned from the server. val out = System.out.sink()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/es/docs/python-types.md
```Python say_hi(name=None) # Esto funciona, None es válido 🎉 ``` La buena noticia es que, una vez que estés en Python 3.10, no tendrás que preocuparte por eso, ya que podrás simplemente usar `|` para definir uniones de tipos: {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *} Y entonces no tendrás que preocuparte por nombres como `Optional` y `Union`. 😎 #### Tipos genéricos { #generic-types }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.4K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/resolver/RepositorySystemSessionFactory.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
tests/test_request_param_model_by_alias.py
assert response.status_code == 200, response.text assert response.json() == {"param": "value"} def test_header_model_with_alias(): client = TestClient(app) response = client.get("/header", headers={"param_alias": "value"}) assert response.status_code == 200, response.text assert response.json() == {"param": "value"} def test_cookie_model_with_alias(): client = TestClient(app)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.1K bytes - Click Count (0) -
tests/test_security_http_bearer.py
assert response.headers["WWW-Authenticate"] == "Bearer" def test_security_http_bearer_incorrect_scheme_credentials(): response = client.get("/users/me", headers={"Authorization": "Basic notreally"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.1K bytes - Click Count (0) -
tests/test_security_http_bearer_description.py
assert response.headers["WWW-Authenticate"] == "Bearer" def test_security_http_bearer_incorrect_scheme_credentials(): response = client.get("/users/me", headers={"Authorization": "Basic notreally"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.3K bytes - Click Count (0)