- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 1,708 for Post (0.05 sec)
-
docs/en/docs/how-to/index.md
# How To - Recipes Here you will see different recipes or "how to" guides for **several topics**. Most of these ideas would be more or less **independent**, and in most cases you should only need to study them if they apply directly to **your project**. If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them. /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 592 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
( if (host.startsWith("[") && host.endsWith("]")) { decodeIpv6(host, 1, host.length - 1) } else { decodeIpv6(host, 0, host.length) } ) ?: return null val address = canonicalizeInetAddress(inetAddressByteArray) if (address.size == 16) return inet6AddressToAscii(address) if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
fun encodeQuery( host: String, type: Int, ): ByteString = Buffer().apply { writeShort(0) // query id writeShort(256) // flags with recursion writeShort(1) // question count writeShort(0) // answerCount writeShort(0) // authorityResourceCount writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
val host = url.host return host.substring(1, host.length - 5).lowercase() } override fun canonicalize(s: String): String = s.lowercase() }, PATH { override fun urlString(value: String): String = "http://example.com/a${value}z/" override fun encodedValue(url: HttpUrl): String { val path = url.encodedPath return path.substring(2, path.length - 2) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java
return LaRequestUtil.getOptionalRequest().map(req -> { for (final Tuple3<String, String, String> host : vHosts) { final String headerValue = req.getHeader(host.getValue1()); if (host.getValue2().equalsIgnoreCase(headerValue)) { return func.apply(host.getValue3()); } } return defaultValue; }).orElse(defaultValue); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
val cookieA = HttpCookie("a", "android") cookieA.domain = serverUrl.host cookieA.path = "/" cookieManager.cookieStore.add(serverUrl.toUri(), cookieA) val cookieB = HttpCookie("b", "banana") cookieB.domain = serverUrl.host cookieB.path = "/" cookieManager.cookieStore.add(serverUrl.toUri(), cookieB) client = client.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
internal/config/config_test.go
}, // Keys and input order of k=v is same. { input: `connection_string="host=localhost port=2832" comment="really long comment"`, keys: []string{"connection_string", "comment"}, expectedFields: map[string]struct{}{ `connection_string="host=localhost port=2832"`: {}, `comment="really long comment"`: {}, }, }, // Keys with spaces in between {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 18 22:55:17 UTC 2022 - 4.2K bytes - Viewed (0) -
internal/grid/manager.go
} m.handlers.init() if ctx == nil { ctx = context.Background() } for _, host := range o.Hosts { if host == o.Local { if found { return nil, fmt.Errorf("grid: local host found multiple times") } found = true // No connection to local. continue } m.targets[host] = newConnection(connectionParams{ ctx: ctx, id: m.ID,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* byte[], boolean) */ @Override public SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException { if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) { // this is not too good, probably should better pass the address and check that it is a netbios one.
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
func proxyDecommissionRequest(ctx context.Context, defaultEndPoint Endpoint, w http.ResponseWriter, r *http.Request) (proxy bool) { host := env.Get("_MINIO_DECOM_ENDPOINT_HOST", defaultEndPoint.Host) if host == "" { return } for nodeIdx, proxyEp := range globalProxyEndpoints { if proxyEp.Endpoint.Host == host && !proxyEp.IsLocal { if proxyRequestByNodeIndex(ctx, w, r, nodeIdx) { return true } } } return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 00:22:30 UTC 2024 - 10.9K bytes - Viewed (0)