- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,033 for HEADER (0.05 seconds)
-
internal/handlers/proxy.go
// Retrieve the scheme from X-Forwarded-Proto. 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/accesstoken/admin_accesstoken_details.jsp
<%-- Card Header --%> <div class="card-header"> <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include> </div> <%-- Card Body --%>Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 5.5K bytes - Click Count (0) -
docs_src/dependencies/tutorial006_py39.py
from fastapi import Depends, FastAPI, Header, HTTPException app = FastAPI() async def verify_token(x_token: str = Header()): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 583 bytes - Click Count (0) -
internal/handlers/forwarder.go
clientIP = ipv6fix(clientIP) if req.Header.Get(xRealIP) == "" { req.Header.Set(xRealIP, clientIP) } } xfProto := req.Header.Get(xForwardedProto) if xfProto == "" { if req.TLS != nil { req.Header.Set(xForwardedProto, "https") } else { req.Header.Set(xForwardedProto, "http") } } if xfPort := req.Header.Get(xForwardedPort); xfPort == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/webauth/admin_webauth_details.jsp
<%-- Card Header --%> <div class="card-header"> <jsp:include page="/WEB-INF/view/common/admin/crud/header.jsp"></jsp:include> </div> <%-- Card Body --%>Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
* Tests the NetBIOS session layer protocol implementation. */ @ExtendWith(MockitoExtension.class) class SocketInputStreamTest { /** * Creates a NetBIOS session message header. * The header format is: * - Byte 0: Message type (0x00 for SESSION_MESSAGE) * - Byte 1: High bit of 17-bit length field * - Bytes 2-3: Lower 16 bits of length field */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial006.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
*/ public Map<String, List<String>> getHeaders() { return headers; } /** * Gets the values of the specified header. * * @param name the name of the header. * @return an array of header values, or an empty array if the header does not exist. */ public String[] getHeaderValues(final String name) { if (headers == null) { return new String[0];Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Mon Nov 24 03:10:07 GMT 2025 - 7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
} responseData.setHttpStatusCode(httpStatusCode); for (final Header header : response.getAllHeaders()) { responseData.addMetaData(header.getName(), header.getValue()); } responseData.setMimeType(contentType); final Header contentLengthHeader = response.getFirstHeader("Content-Length"); if (contentLengthHeader == null) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 53.7K bytes - Click Count (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} def test_items_bar_with_invalid_token(client: TestClient): response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} def test_items_with_missing_x_token_header(client: TestClient):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 21.3K bytes - Click Count (0)