- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 1,137 for HEADER (0.14 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
val request = Request .Builder() .url(server.url("/")) .header("Range", "bytes=0-") .build() val call = client.newCall(request) // The response is not decompressed. val response = call.execute() assertThat(response.header("Content-Encoding")).isEqualTo("gzip") assertThat(response.body.source().readByteString()).isEqualTo(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der /** * The first two bytes of each value is a header that includes its tag (field ID) and length. */ internal data class DerHeader( /** * Namespace of the tag. * * This value is encoded in bits 7 and 8 of the first byte of each value. * * ```
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 32.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
@Test fun upgradeRefusedByServer() { server.enqueue(MockResponse(body = "normal request")) val requestWithUpgrade = Request .Builder() .url(server.url("/")) .header("Connection", "upgrade") .build() client.newCall(requestWithUpgrade).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.socket).isNull()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 08 21:07:01 GMT 2026 - 9.7K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
UserRequest: levent.UserRequest{ URL: r.URL.String(), Headers: r.Header.Clone(), }, UserIdentity: levent.Identity{ Type: "IAMUser", PrincipalID: cred.ParentUser, AccessKeyID: cred.AccessKey, }, } return eventData, nil } func fwdHeadersToS3(h http.Header, w http.ResponseWriter) { const trim = "x-amz-fwd-header-" for k, v := range h { if stringsHasPrefixFold(k, trim) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
val method: String? by option("-X", "--request").help("Specify request command to use") val data: String? by option("-d", "--data").help("HTTP POST data") val headers: List<String>? by option("-H", "--header").help("Custom header to pass to server").multiple() val userAgent: String by option( "-A", "--user-agent", ).help( "User-Agent to send to server", ).default(NAME + "/" + versionString())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
private val typeHint: Boolean = false, ) : DerAdapter<T> { init { require(tagClass >= 0) require(tag >= 0) } override fun matches(header: DerHeader): Boolean = header.tagClass == tagClass && header.tag == tag override fun fromDer(reader: DerReader): T { val peekedHeader = reader.peekHeader() if (peekedHeader == null || peekedHeader.tagClass != tagClass || peekedHeader.tag != tag) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
internal/hash/checksum.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 18.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
*/ public static void writeUTime(final long t, final byte[] dst, final int dstIndex) { writeInt4(t / 1000, dst, dstIndex); } /** * SMB1 protocol header template with magic number 0xFF 'SMB' */ public static final byte[] SMB_HEADER = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B', (byte) 0x00, (byte) 0x00, (byte) 0x00,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
client.stop() } @Test fun get() { server.enqueue(MockResponse(body = "hello, Jetty HTTP Client")) val request = client .newRequest(server.url("/").toUri()) .header("Accept", "text/plain") val response = request.send() assertThat(response.status).isEqualTo(200) assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client") val recorded = server.takeRequest()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2.1K bytes - Click Count (0)