Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 139 for Accepted (0.06 seconds)

  1. docs/es/docs/tutorial/background-tasks.md

    * Procesamiento de datos:
      * Por ejemplo, supongamos que recibes un archivo que debe pasar por un proceso lento, puedes devolver un response de "Accepted" (HTTP 202) y procesar el archivo en segundo plano.
    
    ## Usando `BackgroundTasks` { #using-backgroundtasks }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/net/UrlEscapers.java

       * href="https://url.spec.whatwg.org/#syntax-url-path-segment">URL path segments</a>. The returned
       * escaper escapes all non-ASCII characters, even though <a
       * href="https://url.spec.whatwg.org/#url-code-points">many of these are accepted in modern
       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
       * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

            return createPathMatcher(baseDirectory, includes, null, false);
        }
    
        /**
         * Returns a filter for directories that may contain paths accepted by the given matcher.
         * The given path matcher should be an instance created by this service.
         * The path matcher returned by this method expects directory paths.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/background-tasks.md

    # 后台任务
    
    你可以定义在返回响应后运行的后台任务。
    
    这对需要在请求之后执行的操作很有用,但客户端不必在接收响应之前等待操作完成。
    
    包括这些例子:
    
    * 执行操作后发送的电子邮件通知:
        * 由于连接到电子邮件服务器并发送电子邮件往往很“慢”(几秒钟),您可以立即返回响应并在后台发送电子邮件通知。
    * 处理数据:
        * 例如,假设您收到的文件必须经过一个缓慢的过程,您可以返回一个"Accepted"(HTTP 202)响应并在后台处理它。
    
    ## 使用 `BackgroundTasks`
    
    首先导入 `BackgroundTasks` 并在 *路径操作函数* 中使用类型声明 `BackgroundTasks` 定义一个参数:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[1, 13] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     *
     *  * **Connecting:** the initial state of each web socket. Messages may be enqueued but they won't
     *    be transmitted until the web socket is open.
     *
     *  * **Open:** the web socket has been accepted by the remote peer and is fully operational.
     *    Messages in either direction are enqueued for immediate transmission.
     *
     *  * **Closing:** one of the peers on the web socket has initiated a graceful shutdown. The web
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act
            assertTrue(itr.hasNext());
            SmbResource r = itr.next();
    
            // Assert: filter was invoked twice and we got the accepted one
            ArgumentCaptor<SmbResource> captor = ArgumentCaptor.forClass(SmbResource.class);
            verify(filter, times(2)).accept(captor.capture());
            assertNotNull(r);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testConstructorWithMalformedUrl() {
                // Test that constructor throws MalformedURLException for completely invalid URL
                // Note: http:// URLs are actually accepted by the URL constructor but the protocol is changed to smb
                String invalidUrl = "not-a-valid-url";
                assertThrows(MalformedURLException.class, () -> new SmbFile(invalidUrl));
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    context.terminal
                            .writer()
                            .println(messageBuilderFactory
                                    .builder()
                                    .warning("Values not accepted; not saving configuration.")
                                    .build());
                    return CANCELED;
                }
            }
    
            return OK;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. internal/event/target/webhook.go

    	resp, err := target.httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode >= 200 && resp.StatusCode <= 299 {
    		// accepted HTTP status codes.
    		return nil
    	} else if resp.StatusCode == http.StatusForbidden {
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", target.args.Endpoint, resp.Status)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
Back to Top