Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 303 for knop (0.03 sec)

  1. docs/features/interceptors.md

        return new RequestBody() {
          @Override public MediaType contentType() {
            return body.contentType();
          }
    
          @Override public long contentLength() {
            return -1; // We don't know the compressed length in advance!
          }
    
          @Override public void writeTo(BufferedSink sink) throws IOException {
            BufferedSink gzipSink = Okio.buffer(new GzipSink(sink));
            body.writeTo(gzipSink);
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. okhttp-tls/README.md

    ```java
    HandshakeCertificates serverHandshakeCertificates = new HandshakeCertificates.Builder()
        .heldCertificate(serverCertificate, intermediateCertificate.certificate())
        .build();
    ```
    
    The client only needs to know the trusted root certificate. It checks the server's certificate by
    validating the signatures within the chain.
    
    ```java
    HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-multiple-params.md

    ## Mix `Path`, `Query` and body parameters
    
    First, of course, you can mix `Path`, `Query` and request body parameter declarations freely and **FastAPI** will know what to do.
    
    And you can also declare body parameters as optional, by setting the default to `None`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18-20"
    {!> ../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded` when it doesn't include files.
    
    But when the form includes files, it is encoded as `multipart/form-data`. If you use `File`, **FastAPI** will know it has to get the files from the correct part of the body.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeBasedTable.java

      /**
       * Returns the comparator that orders the columns. With natural ordering, {@link
       * Ordering#natural()} is returned.
       *
       * @deprecated Store the {@link Comparator} alongside the {@link Table}. Or, if you know that the
       *     {@link Table} contains at least one value, you can retrieve the {@link Comparator} with:
       *     {@code ((SortedMap<C, V>) table.rowMap().values().iterator().next()).comparator();}.
       */
      @Deprecated
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        try {
          /*
           * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For
           * more information, see the comments in that class.
           *
           * We already know that that's how it behaves, and subclasses of Converter can't change that
           * behavior. So there's no sense in making all subclass authors exclude the method from any
           * NullPointerTester tests that they have.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                        } else {
                            encodedBuf.append(converted);
                        }
                    } catch (final UnsupportedEncodingException e) {
                        // NOP
                    }
                }
            }
    
            final String id = encodedBuf.toString();
            return MessageDigestUtil.digest(ComponentUtil.getFessConfig().getIndexIdDigestAlgorithm(), id);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

        }
    
        public void test_getText_null() {
            try {
                jodExtractor.getText(null, null);
                fail();
            } catch (CrawlerSystemException e) {
                // NOP
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean {
      return try {
        val readTimeout = soTimeout
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        try {
          /*
           * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For
           * more information, see the comments in that class.
           *
           * We already know that that's how it behaves, and subclasses of Converter can't change that
           * behavior. So there's no sense in making all subclass authors exclude the method from any
           * NullPointerTester tests that they have.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top