- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 907 for Headers (0.06 seconds)
-
CLAUDE.md
- **`CurlRequest`**: Fluent request builder supporting query parameters, headers, body content, GZIP compression, SSL configuration, proxy settings, encoding, threshold, custom connection configuration, and async execution. - **`CurlResponse`**: Response wrapper implementing `Closeable`. Provides HTTP status code, headers, and content access methods. - **`CurlException`**: Unchecked RuntimeException for HTTP errors.
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jan 08 07:28:24 GMT 2026 - 4.3K bytes - Click Count (0) -
tests/test_security_http_basic_optional.py
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" assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.7K bytes - Click Count (0) -
cmd/api-response_test.go
rw := httptest.NewRecorder() trw := &trackingResponseWriter{ResponseWriter: rw} if headersAlreadyWritten(trw) { t.Fatal("headers have not been written yet") } trw.WriteHeader(123) if !headersAlreadyWritten(trw) { t.Fatal("headers were written") } } func TestHeadersAlreadyWrittenWrapped(t *testing.T) { rw := httptest.NewRecorder()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Dec 23 10:26:25 GMT 2023 - 1.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
assertThat(cacheControl.toString()).isEqualTo(header) } @Test @Throws(Exception::class) fun parseIgnoreCacheControlExtensions() { // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6 val header = "private, community=\"UCI\"" val cacheControl = parse( Headers .Builder() .set("Cache-Control", header) .build(), )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 7.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
} @Test fun headers() { var headers: Headers = headersOf("", "") headers = mapOf("" to "").toHeaders() val get: String? = headers[""] val date: Date? = headers.getDate("") val instant: Instant? = headers.getInstant("") val size: Int = headers.size val name: String = headers.name(0) val value: String = headers.value(0) val names: Set<String> = headers.names()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
internal/crypto/header.go
// functionality to handle SSE-C copy requests. var SSECopy = ssecCopy{} type ssecCopy struct{} // IsRequested returns true if the HTTP headers contains // at least one SSE-C copy header. Regular SSE-C headers // are ignored. func (ssecCopy) IsRequested(h http.Header) bool { if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok { return true }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 2.9K bytes - Click Count (0) -
internal/handlers/proxy.go
if proto := r.Header.Get(xForwardedProto); proto != "" { scheme = strings.ToLower(proto) } else if proto = r.Header.Get(xForwardedScheme); proto != "" { scheme = strings.ToLower(proto) } else if proto := r.Header.Get(forwarded); proto != "" { // match should contain at least two elements if the protocol was // specified in the Forwarded header. The first element will always be
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/resources/fess_indices/fess_log.search_log/search_log.json
{ "dynamic_templates": [ { "headers": { "path_match": "headers.*", "mapping": { "type": "keyword" } } }, { "search_fields": { "path_match": "searchField.*", "mapping": { "type": "keyword" } } }, { "documents": { "path_match": "documents.*",Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Feb 25 13:38:21 GMT 2022 - 1.6K bytes - Click Count (0) -
cmd/encryption-v1.go
if crypto.S3.IsEncrypted(info.UserDefined) && r.Header.Get(xhttp.AmzCopySource) == "" { if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) { return encrypted, errEncryptedObject } } if crypto.S3KMS.IsEncrypted(info.UserDefined) && r.Header.Get(xhttp.AmzCopySource) == "" { if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) { return encrypted, errEncryptedObject
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 38K bytes - Click Count (0)