- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 54 for get_header (0.15 sec)
-
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
boolean skipAuthentication ) throws IOException, ServletException { UniAddress dc; String msg; NtlmPasswordAuthentication ntlm = null; msg = req.getHeader( "Authorization" ); boolean offerBasic = enableBasic && (insecureBasic || req.isSecure()); if( msg != null && (msg.startsWith( "NTLM " ) || (offerBasic && msg.startsWith("Basic ")))) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
url = file.getLocator().getPath(); resp.setContentType("text/plain"); resp.setContentType(URLConnection.guessContentTypeFromName(url)); resp.setHeader("Content-Length", file.length() + ""); resp.setHeader("Accept-Ranges", "Bytes"); while ( ( n = in.read(buf) ) != -1 ) { out.write(buf, 0, n); } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public final fun getBody ()Lmockwebserver3/MockResponseBody; public final fun getBodyDelayNanos ()J public final fun getCode ()I public final fun getHeaders ()Lokhttp3/Headers; public final fun getHeadersDelayNanos ()J public final fun getInTunnel ()Z public final fun getInformationalResponses ()Ljava/util/List; public final fun getMessage ()Ljava/lang/String;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 03 21:59:45 UTC 2023 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
throws IOException, ServletException { Address dc; String msg; NtlmPasswordAuthentication ntlm = null; msg = req.getHeader("Authorization"); boolean offerBasic = this.enableBasic && ( this.insecureBasic || req.isSecure() ); if ( msg != null && ( msg.startsWith("NTLM ") || ( offerBasic && msg.startsWith("Basic ") ) ) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.8K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} final SearchHelper searchHelper = ComponentUtil.getSearchHelper(); final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (!fessConfig.isAcceptedSearchReferer(request.getHeader("referer"))) { writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Referer is invalid.")); return; } if (!fessConfig.isApiSearchScroll()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100)); searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000)); searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255)); final Object accessType = req.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 02:07:37 UTC 2024 - 21.7K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
} @Test fun event() { server.enqueue( MockResponse.Builder() .body( """ |data: hey | | """.trimMargin(), ).setHeader("content-type", "text/event-stream") .build(), ) val source = newEventSource() assertThat(source.request().url.encodedPath).isEqualTo("/") listener.assertOpen()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
} @Test @Throws(IOException::class) fun wrongConnectionHeader() { webServer.enqueue( MockResponse.Builder() .code(101) .setHeader("Upgrade", "websocket") .setHeader("Connection", "Downgrade") .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=") .build(), ) webServer.enqueue( MockResponse.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
server.enqueue( MockResponse.Builder() .code(HttpURLConnection.HTTP_MOVED_TEMP) .setHeader("Location", "/b") .headersDelay(100, TimeUnit.MILLISECONDS) .build(), ) server.enqueue( MockResponse.Builder() .code(HttpURLConnection.HTTP_MOVED_TEMP) .setHeader("Location", "/c") .headersDelay(100, TimeUnit.MILLISECONDS) .build(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0)