Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 371 for Sender (0.03 sec)

  1. 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(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

    /*
     * Copyright (C) 2012 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
        val reader = DerReader(buffer)
        return fromDer(reader)
      }
    
      /**
       * Writes [value] to this adapter, unless it is the default value and can be safely omitted.
       *
       * If this does write a value, it will write a tag and a length and a full value.
       */
      fun toDer(
        writer: DerWriter,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("RqLs")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 32 bytes (lease V1 structure)
            return 16 + 4 + 4 + 32;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        body.writeTo(bodyContent)
    
        val reader = MultipartReader(bodyContent, "boundary")
    
        val quickPart = reader.nextPart()!!
        assertThat(quickPart.headers).isEqualTo(
          headersOf(
            "Content-Type",
            "text/plain; charset=utf-8",
          ),
        )
        assertThat(quickPart.body.readUtf8()).isEqualTo("Quick")
    
        val brownPart = reader.nextPart()!!
        assertThat(brownPart.headers).isEqualTo(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    /*
     *  Licensed to the Apache Software Foundation (ASF) under one or more
     *  contributor license agreements.  See the NOTICE file distributed with
     *  this work for additional information regarding copyright ownership.
     *  The ASF licenses this file to You under the Apache License, Version 2.0
     *  (the "License"); you may not use this file except in compliance with
     *  the License.  You may obtain a copy of the License at
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        }
    
        @Override
        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment (4) + data (32)
            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

    /*
     * Copyright (C) 2019 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/util/SMBUtilTest.java

            }
        }
    
        @Test
        void testSMB2Header() {
            assertNotNull(SMBUtil.SMB2_HEADER);
            // The actual header is 68 bytes (4 + 2 + 2 + 2 + 2 + 4 + 2 + 2 + 4 + 4 + 8 + 4 + 4 + 8 + 8 + 8 = 68)
            assertEquals(68, SMBUtil.SMB2_HEADER.length);
    
            // Verify SMB2 header signature
            assertEquals((byte) 0xFE, SMBUtil.SMB2_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/security/index.md

    OpenAPI definiert die folgenden Sicherheitsschemas:
    
    * `apiKey`: ein anwendungsspezifischer Schlüssel, der stammen kann von:
        * Einem Query-Parameter.
        * Einem Header.
        * Einem Cookie.
    * `http`: Standard-HTTP-Authentifizierungssysteme, einschließlich:
        * `bearer`: ein Header `Authorization` mit dem Wert `Bearer` plus einem Token. Dies wird von OAuth2 geerbt.
        * HTTP Basic Authentication.
        * HTTP Digest, usw.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top