- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 1,378 for header1 (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
import java.util.concurrent.TimeUnit /** * Observes, modifies, and potentially short-circuits requests going out and the corresponding * responses coming back in. Typically interceptors add, remove, or transform headers on the request * or response. * * Implementations of this interface throw [IOException] to signal connectivity failures. This * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
tests/test_top_level_security_scheme_in_openapi.py
@app.get("/", dependencies=[Depends(bearer_scheme)]) async def get_root(): return {"message": "Hello, World!"} client = TestClient(app) def test_get_root(): response = client.get("/", headers={"Authorization": "Bearer token"}) assert response.status_code == 200, response.text assert response.json() == {"message": "Hello, World!"} def test_get_root_no_token(): response = client.get("/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
/** Offset from the start of the SMB header to the parameter bytes */ protected int parameterOffset; /** Displacement of these parameter bytes from the start of the total parameter block */ protected int parameterDisplacement; /** Number of data bytes being sent in this request */ protected int dataCount; /** Offset from the start of the SMB header to the data bytes */ protected int dataOffset;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0) -
tests/test_application.py
assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "window.opener.swaggerUIRedirectOauth2" in response.text def test_redoc(): response = client.get("/redoc") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "redoc@2" in response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 51.9K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/buttons.jsp
</button> <div class="modal fade" id="confirmToDelete" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content bg-danger"> <div class="modal-header"> <h4 class="modal-title"> <la:message key="labels.crud_title_delete" /> </h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close">
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 2.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
} } val file = File("docs/images/logo-square.png") val requestBody: RequestBody = file.asRequestBody(MEDIA_TYPE_PNG) val request = Request .Builder() .header("Authorization", "Client-ID $IMGUR_CLIENT_ID") .url("https://api.imgur.com/3/image") .post(ProgressRequestBody(requestBody, progressListener)) .build()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 3.8K bytes - Click Count (0) -
cmd/handler-api.go
f.ServeHTTP(w, r) return } if tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok { tc.FuncName = "s3.MaxClients" } w.Header().Set("X-RateLimit-Limit", strconv.Itoa(cap(pool))) w.Header().Set("X-RateLimit-Remaining", strconv.Itoa(cap(pool)-len(pool))) ctx := r.Context() select { case pool <- struct{}{}: defer func() { <-pool }()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
@Override public Response intercept(Chain chain) throws IOException { Request originalRequest = chain.request(); if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) { return chain.proceed(originalRequest); } Request compressedRequest = originalRequest.newBuilder() .gzip() .build();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 04 17:43:43 GMT 2025 - 3.1K bytes - Click Count (0) -
cmd/copy-part-range.go
apiErr.Description = err.Error() writeErrorResponse(ctx, w, apiErr, url) return } } // Parses x-amz-copy-source-range for CopyObjectPart API. Its behavior // is different from regular HTTP range header. It only supports the // form `bytes=first-last` where first and last are zero-based byte // offsets. See // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 18 03:27:04 GMT 2021 - 2.5K bytes - Click Count (0) -
ci/official/containers/ml_build/setup.python.sh
$VERSION $VERSION-dev $VERSION-venv EOF else cat >pythons.txt <<EOF $VERSION $VERSION-dev $VERSION-venv $VERSION-distutils EOF fi /setup.packages.sh pythons.txt # Python 3.10 include headers fix: # sysconfig.get_path('include') incorrectly points to /usr/local/include/python # map /usr/include/python3.10 to /usr/local/include/python3.10 if [[ ! -f "/usr/local/include/$VERSION" ]]; then
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 30 20:25:44 GMT 2025 - 2.5K bytes - Click Count (0)