Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,463 for requer (0.04 seconds)

  1. docs/zh-hant/docs/how-to/custom-request-and-route.md

    /// note | 技術細節
    
    `Request` 具有 `request.scope` 屬性,它其實就是一個 Python 的 `dict`,包含與該請求相關的中繼資料。
    
    `Request` 也有 `request.receive`,那是一個用來「接收」請求本文的函式。
    
    `scope` 這個 `dict` 與 `receive` 函式都是 ASGI 規格的一部分。
    
    而 `scope` 與 `receive` 這兩者,就是建立一個新的 `Request` 實例所需的資料。
    
    想了解更多 `Request`,請參考 [Starlette 的 Request 文件](https://www.starlette.dev/requests/)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/request-forms-and-files.md

    # Formulários e Arquivos da Requisição { #request-forms-and-files }
    
    Você pode definir arquivos e campos de formulário ao mesmo tempo usando `File` e `Form`.
    
    /// info | Informação
    
    Para receber arquivos carregados e/ou dados de formulário, primeiro instale [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Certifique-se de criar um [ambiente virtual](../virtual-environments.md), ativá-lo e então instalar, por exemplo:
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

                override fun close() {
                  closed.set(true)
                  super.close()
                }
              }.buffer()
            }
          }
        val reader = body.charStream()
        assertThat(reader.read()).isEqualTo('h'.code)
        reader.close()
        assertThat(closed.get()).isTrue()
      }
    
      @Test
      fun sourceSeesBom() {
        val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          override fun fromDer(reader: DerReader): Long {
            val peekHeader =
              reader.peekHeader()
                ?: throw ProtocolException("expected time but was exhausted at $reader")
    
            return when {
              peekHeader.tagClass == Adapters.UTC_TIME.tagClass &&
                peekHeader.tag == Adapters.UTC_TIME.tag -> {
                Adapters.UTC_TIME.fromDer(reader)
              }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/TestCharSource.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.Reader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A char source for testing that has configurable options.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            validateApi(body, messages -> {});
            CommonPoolUtil.execute(() -> {
                try (Reader reader = new BufferedReader(new InputStreamReader(body.elevateWordFile.getInputStream(), getCsvEncoding()))) {
                    elevateWordService.importCsv(reader);
                    suggestHelper.storeAllElevateWords(false);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

                    Map<String, Integer> socketToCore = new HashMap<>();
                    String currentID = "";
    
                    try (BufferedReader reader = new BufferedReader(new FileReader(cpuInfoFile))) {
                        for (String line = reader.readLine(); line != null; line = reader.readLine()) {
                            if (line.contains(":")) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  8. internal/config/crypto.go

    // The context is bound to the returned ciphertext.
    //
    // The same context must be provided when decrypting the
    // ciphertext.
    func Encrypt(k *kms.KMS, plaintext io.Reader, ctx kms.Context) (io.Reader, error) {
    	algorithm := sio.AES_256_GCM
    	if !sioutil.NativeAES() {
    		algorithm = sio.ChaCha20Poly1305
    	}
    
    	key, err := k.GenerateKey(context.Background(), &kms.GenerateKeyRequest{AssociatedData: ctx})
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. internal/s3select/jstream/scanner.go

    )
    
    type scanner struct {
    	pos       int64 // position in reader
    	ipos      int64 // internal buffer position
    	ifill     int64 // internal buffer fill
    	end       int64
    	buf       [chunk + 1]byte // internal buffer (with a lookback size of 1)
    	nbuf      [chunk]byte     // next internal buffer
    	fillReq   chan struct{}
    	fillReady chan int64
    	readerErr error // underlying reader error, if any
    }
    
    func newScanner(r io.Reader) *scanner {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top