Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 718 for Headers (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

              "image",
              "logo-square.png",
              File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG),
            ).build()
    
        val request =
          Request
            .Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
            .url("https://api.imgur.com/3/image")
            .post(requestBody)
            .build()
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

     * lowercase, but all others are left as-is.
     *
     * <p>Note that this specifically does <strong>not</strong> represent the value of the MIME {@code
     * Content-Type} header and as such has no support for header-specific considerations such as line
     * folding and comments.
     *
     * <p>For media types that take a charset the predefined constants default to UTF-8 and have a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. src/main/resources/fess_message_pt_BR.properties

    # ========================================================================================
    # Framework Default
    # =================
    # ----------------------------------------------------------
    # Lasta Taglib
    # ------------
    errors.header = <ul class="has-error">
    errors.footer = </ul>
    errors.prefix = <li><i class="fa fa-exclamation-circle"></i>
    errors.suffix = </li>
    # ----------------------------------------------------------
    # Javax Validator
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                verify(mockInputBuffer).encode(any(byte[].class), anyInt());
    
                // Verify total bytes written
                assertEquals(90, bytesWritten); // 40 bytes header + 50 bytes input buffer
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                basicAuthList.add(webAuth.getAuthentication());
            }
            paramMap.put(HcHttpClient.AUTHENTICATIONS_PROPERTY, basicAuthList.toArray(new Authentication[basicAuthList.size()]));
    
            // request header
            final List<RequestHeader> requestHeaderList = requestHeaderService.getRequestHeaderList(getId());
            final List<org.codelibs.fess.crawler.client.http.RequestHeader> rhList = new ArrayList<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should calculate padding")
            void testPad8() {
                testMessage.encode(new byte[1024], 0);
                // After header is written, padding depends on position
                int headerStart = testMessage.getHeaderStart();
                assertEquals(0, headerStart); // Should start at 0
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testValidSmbHeader() throws Exception {
            // SMB1 header
            validator.validateSmbHeader(0x424D53FF, 32, 0x72);
    
            // SMB2 header
            validator.validateSmbHeader(0x424D53FE, 64, 0x00);
        }
    
        @Test
        public void testInvalidProtocolId() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          return DnsRecordCodec.decodeAnswers(hostname, responseBytes)
        }
      }
    
      private fun buildRequest(
        hostname: String,
        type: Int,
      ): Request =
        Request
          .Builder()
          .header("Accept", DNS_MESSAGE.toString())
          .apply {
            val query = DnsRecordCodec.encodeQuery(hostname, type)
    
            val dnsUrl: HttpUrl = ******@****.***
            if (post) {
              url(dnsUrl)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

                throw new IOException("Connection not established");
            }
    
            try {
                socket.setSoTimeout(timeout);
    
                // First, read the header to determine message size
                ByteBuffer headerBuffer = ByteBuffer.allocate(4);
                while (headerBuffer.hasRemaining()) {
                    int read = socketChannel.read(headerBuffer);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

     *  * `com.twitter.hpack.HpackUtil`
     *
     * [twitter_hpack]: https://github.com/twitter/hpack
     */
    object Huffman {
      // Appendix C: Huffman Codes
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-B
      private val CODES =
        intArrayOf(
          0x1ff8,
          0x7fffd8,
          0xfffffe2,
          0xfffffe3,
          0xfffffe4,
          0xfffffe5,
          0xfffffe6,
          0xfffffe7,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top