- Sort Score
- Result 10 results
- Languages All
Results 41 - 47 of 47 for jwtheader (0.08 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
sink: BufferedSink, request: RecordedRequest, response: MockResponse, ) { val key = request.headers["Sec-WebSocket-Key"] val webSocketResponse = response.newBuilder() .setHeader("Sec-WebSocket-Accept", WebSocketProtocol.acceptHeader(key!!)) .build() writeHttpResponse(socket, sink, webSocketResponse) // Adapt the request and response into our Request and Response domain model.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
return; } } response.contentType(mimeType); } public String getClientIp(final HttpServletRequest request) { final String value = request.getHeader("x-forwarded-for"); if (StringUtil.isNotBlank(value)) { return value; } return request.getRemoteAddr(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
assertThat(recordedEvents).doesNotContain("DnsEnd") } @Test fun multipleDnsLookupsForSingleCall() { server.enqueue( MockResponse.Builder() .code(301) .setHeader("Location", "http://www.fakeurl:" + server.port) .build(), ) server.enqueue(MockResponse()) val dns = FakeDns() dns["fakeurl"] = client.dns.lookup(server.hostName)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/CacheTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} @Test fun contentDisagreesWithContentLengthHeaderBodyTooShort() { server.enqueue( MockResponse.Builder() .body("abc") .setHeader("Content-Length", "5") .socketPolicy(DisconnectAtEnd) .build(), ) assertFailsWith<ProtocolException> { val response = getResponse(newRequest("/"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
* https://github.com/square/okhttp/issues/5727 */ @Test fun proxyUpgradeFailsWithTruncatedResponse() { server.enqueue( MockResponse.Builder() .body("abc") .setHeader("Content-Length", "5") .socketPolicy(DisconnectAtEnd) .build(), ) val hostnameVerifier = RecordingHostnameVerifier() client = client.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)