- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 873 for haddrs (0.04 sec)
-
tests/test_query_cookie_header_model_extra_params.py
assert resp.json() == { "param": "123", "param2": "456", } def test_header_pass_extra_list(): client = TestClient(app) resp = client.get( "/header", headers=[ ("param", "123"), ("param2", "456"), # Pass a list of values as extra parameter ("param2", "789"), ], ) assert resp.status_code == 200 resp_json = resp.json()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 2.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
length: Int, ) /** * Create or update incoming headers, creating the corresponding streams if necessary. Frames * that trigger this are HEADERS and PUSH_PROMISE. * * @param inFinished true if the sender will not send further frames. * @param streamId the stream owning these headers. * @param associatedStreamId the stream that triggered the sender to create this stream. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
} /** * Processes the CORS request by adding standard CORS headers to the response. * Headers include allowed origin, methods, headers, max age, and credentials setting. * * @param origin the origin of the request * @param request the servlet request * @param response the servlet response to add CORS headers to */ @OverrideRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
server.enqueue( MockResponse( headers = headersOf( "Last-Modified", formatDate(-1, TimeUnit.HOURS)!!, "Expires", formatDate(1, TimeUnit.HOURS)!!, ), body = "ABC.1", ), ) server.enqueue( MockResponse( headers = headersOf( "Last-Modified",
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers())); Response response = chain.proceed(request); long t2 = System.nanoTime(); logger.info(String.format("Received response for %s in %.1fms%n%s", request.url(), (t2 - t1) / 1e6d, response.headers())); return response; } } public static void main(String... args) throws Exception {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
docs/es/docs/advanced/response-change-status-code.md
Para esos casos, puedes usar un parámetro `Response`. ## Usa un parámetro `Response` { #use-a-response-parameter } Puedes declarar un parámetro de tipo `Response` en tu *path operation function* (como puedes hacer para cookies y headers). Y luego puedes establecer el `status_code` en ese objeto de response *temporal*. {* ../../docs_src/response_change_status_code/tutorial001_py39.py hl[1,9,12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java
* limitations under the License. */ package okhttp3.modules.test; import mockwebserver3.MockResponse; import mockwebserver3.MockWebServer; import okhttp3.Call; import okhttp3.Headers; import okhttp3.HttpUrl; import okhttp3.OkHttpClient; import okhttp3.Response; import okhttp3.logging.HttpLoggingInterceptor; import okhttp3.modules.OkHttpCaller; import org.junit.jupiter.api.Test;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:22:22 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
For those cases, you can use a `Response` parameter. ## Use a `Response` parameter { #use-a-response-parameter } You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers). And then you can set the `status_code` in that *temporal* response object. {* ../../docs_src/response_change_status_code/tutorial001_py39.py hl[1,9,12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.5K bytes - Viewed (0) -
.github/workflows/mint/nginx-1-node.conf
ip_hash; server minio1:9001; } server { listen 9000; listen [::]:9000; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0;Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Mar 31 21:38:10 UTC 2023 - 2.8K bytes - Viewed (0) -
tests/test_security_http_basic_realm_description.py
assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' def test_security_http_basic_invalid_credentials(): response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.7K bytes - Viewed (0)