- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 293 for Dadd (0.12 sec)
-
okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt
} @Test fun chainMaxLength() { val heldCertificates = chainOfLength(10) val certificates: MutableList<Certificate> = ArrayList() for (heldCertificate in heldCertificates) { certificates.add(heldCertificate.certificate) } val root = heldCertificates[heldCertificates.size - 1].certificate val cleaner = get(root) assertThat(cleaner.clean(certificates, "hostname")).isEqualTo(certificates)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt
commonAddLenient(headers.name(i), headers.value(i)) } } internal fun Headers.Builder.commonAddLenient( name: String, value: String, ) = apply { namesAndValues.add(name) namesAndValues.add(value.trim()) } internal fun Headers.Builder.commonRemoveAll(name: String) = apply { var i = 0 while (i < namesAndValues.size) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
fun requestToStringRedactsSensitiveHeaders() { val headers = Headers.Builder() .add("content-length", "99") .add("authorization", "peanutbutter") .add("proxy-authorization", "chocolate") .add("cookie", "drink=coffee") .add("set-cookie", "accessory=sugar") .add("user-agent", "OkHttp") .build() val request = Request(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.4K bytes - Viewed (0) -
docs/en/docs/advanced/response-headers.md
You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them. ## Return a `Response` directly You can also add headers when you return a `Response` directly. Create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank} and pass the headers as an additional parameter:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.2K bytes - Viewed (0) -
Dockerfile.hotfix
FROM golang:1.21-alpine as build ARG TARGETARCH ARG RELEASE ENV GOPATH /go ENV CGO_ENABLED 0 # Install curl and minisign RUN apk add -U --no-cache ca-certificates && \ apk add -U --no-cache curl && \ go install aead.dev/minisign/cmd/minisign@v0.2.1 # Download minio binary and signature file RUN curl -s -q https://dl.min.io/server/minio/hotfixes/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 30 09:41:56 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
val equalsOffset = indexOf('=', pos) if (equalsOffset == -1 || equalsOffset > ampersandOffset) { result.add(substring(pos, ampersandOffset)) result.add(null) // No value for this name. } else { result.add(substring(pos, equalsOffset)) result.add(substring(equalsOffset + 1, ampersandOffset)) } pos = ampersandOffset + 1 } return result
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
docs/metrics/prometheus/alerts.md
## Configure Prometheus to use AlertManager Add below section to your `prometheus.yml` ```yaml alerting: alertmanagers: - static_configs: - targets: ['localhost:9093'] rule_files: - rules.yml ``` Here `rules.yml` is the file which should contain the alerting rules defined. ## Add rules for your deployment
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 28 20:53:59 GMT 2024 - 4.4K bytes - Viewed (0) -
mockwebserver-junit4/README.md
MockWebServer for JUnit 4 ========================= This module integrates mockwebserver3.MockWebServer with JUnit 4. To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:4.12.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ```
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 707 bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt
import okhttp3.OkHttpClient import okhttp3.Request class CertificatePinning { private val client = OkHttpClient.Builder() .certificatePinner( CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build(), ) .build() fun run() { val request = Request.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Viewed (0)