Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 607 for acceptT2 (0.04 sec)

  1. docs/pt/docs/advanced/middleware.md

    Se uma requisição recebida não for validada corretamente, uma resposta `400` será enviada.
    
    ## `GZipMiddleware` { #gzipmiddleware }
    
    Gerencia respostas GZip para qualquer requisição que inclua `"gzip"` no cabeçalho `Accept-Encoding`.
    
    O middleware lidará com respostas padrão e de streaming.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    Os seguintes argumentos são suportados:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/middleware.md

    支持以下参数:
    
    * `allowed_hosts` - 允许的域名(主机名)列表。`*.example.com` 等通配符域名可以匹配子域名,或使用 `allowed_hosts=["*"]` 允许任意主机名,或省略中间件。
    
    如果传入的请求没有通过验证,则发送 `400` 响应。
    
    ## `GZipMiddleware`
    
    处理 `Accept-Encoding` 请求头中包含 `gzip` 请求的 GZip 响应。
    
    中间件会处理标准响应与流响应。
    
    {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *}
    
    支持以下参数:
    
    * `minimum_size` - 小于最小字节的响应不使用 GZip。 默认值是 `500`。
    
    ## 其它中间件
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>If any parts of the range are already present in this map, those parts are mapped to new
       * values by applying the remapping function. The remapping function accepts the map's existing
       * value for that part of the range and the given value. It returns the value to be associated
       * with that part of the map, or it returns {@code null} to clear that part of the map.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

          Map<K, V> delegate = delegateOrNull();
          if (delegate != null) {
            delegate.keySet().forEach(action);
          } else {
            for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
              action.accept(key(i));
            }
          }
        }
      }
    
      Iterator<K> keySetIterator() {
        Map<K, V> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.keySet().iterator();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

            return doSelectEntity(xprepareCBAsPK(id), tp);
        }
    
        protected DataConfigCB xprepareCBAsPK(String id) {
            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends DataConfig> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java

            return doSelectEntity(xprepareCBAsPK(id), tp);
        }
    
        protected LabelTypeCB xprepareCBAsPK(String id) {
            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends LabelType> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    // Write is non-blocking, if the writer's queue is not full.
    // Write is blocking otherwise.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    // Any accepted writes will be flushed. Any new writes will be rejected.
    // Once Close() exits, files are synchronized to disk.
    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val denied = server.takeRequest()
        assertThat(denied.headers["Authorization"]).isNull()
        val accepted = server.takeRequest()
        assertThat(accepted.requestLine).isEqualTo("GET / HTTP/2")
        assertThat(accepted.headers["Authorization"]).isEqualTo(credential)
      }
    
      @Test
      fun redirect() {
        server.enqueue(
          MockResponse(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        } finally {
          this.socketAddress_ = boundSocketAddress
        }
    
        taskRunner.newQueue().execute(toString(), cancelable = false) {
          try {
            logger.fine("$this starting to accept connections")
            acceptConnections()
          } catch (e: Throwable) {
            logger.log(Level.WARNING, "$this failed unexpectedly", e)
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top