Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 145 for 1013 (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        val clientReason = "unexpected Sec-WebSocket-Extensions in response header"
        serverListener.assertClosing(1010, clientReason)
        server.close(1010, "")
        clientListener.assertClosing(1010, "")
        clientListener.assertClosed(1010, "")
        serverListener.assertClosed(1010, clientReason)
        clientListener.assertExhausted()
        serverListener.assertExhausted()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. cmd/copy-part-range_test.go

    		if _, err := parseCopyPartRangeSpec(rangeString); err == nil {
    			t.Fatalf("expected: an error, got: <nil> for range %s", rangeString)
    		}
    	}
    
    	// Test error range strings.
    	errorRangeString := []string{
    		"bytes=10-10",
    		"bytes=20-30",
    	}
    	for _, rangeString := range errorRangeString {
    		rs, err := parseCopyPartRangeSpec(rangeString)
    		if err == nil {
    			err1 := checkCopyPartRangeWithSize(rs, objectSize)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/request-forms-and-files.md

    ```
    
    ////
    
    ## `File` und `Form`-Parameter definieren
    
    Erstellen Sie Datei- und Formularparameter, so wie Sie es auch mit `Body` und `Query` machen würden:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10-12"
    {!> ../../docs_src/request_forms_and_files/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-11"
    {!> ../../docs_src/request_forms_and_files/tutorial001_an.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ```Python hl_lines="6  11"
    {!> ../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ////
    
    ### 오류 발생시키기
    
    다음 의존성은 기존 의존성과 동일하게 예외를 `raise`를 일으킬 수 있습니다:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/dependencies/tutorial006_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9  14"
    {!> ../../docs_src/dependencies/tutorial006_an.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-forms-and-files.md

    ```
    
    ////
    
    ## Define `File` and `Form` parameters
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10-12"
    {!> ../../docs_src/request_forms_and_files/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-11"
    {!> ../../docs_src/request_forms_and_files/tutorial001_an.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/response-cookies.md

    To do that, you can create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank}.
    
    Then set Cookies in it, and then return it:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip
    
    Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      }
    
      public void testFlatMapToInt_nullStream() {
        SpliteratorTester.ofInt(
                () ->
                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/response-headers.md

    你也可以在依赖项中声明`Response`参数,并在其中设置头部(和cookies)。
    
    ## 直接返回 `Response`
    
    你也可以在直接返回`Response`时添加头部。
    
    按照[直接返回响应](response-directly.md){.internal-link target=_blank}中所述创建响应,并将头部作为附加参数传递:
    ```Python hl_lines="10-12"
    {!../../docs_src/response_headers/tutorial001.py!}
    ```
    
    
    /// note | "技术细节"
    
    你也可以使用`from starlette.responses import Response`或`from starlette.responses import JSONResponse`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/response-cookies.md

    Para fazer isso, você pode criar uma resposta como descrito em [Retornando uma Resposta Diretamente](response-directly.md){.internal-link target=_blank}.
    
    Então, defina os cookies nela e a retorne:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Lembre-se de que se você retornar uma resposta diretamente em vez de usar o parâmetro `Response`, FastAPI a retornará diretamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/response-headers.md

    Crie uma resposta conforme descrito em [Retornar uma resposta diretamente](response-directly.md){.internal-link target=_blank} e passe os cabeçalhos como um parâmetro adicional:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_headers/tutorial001.py!}
    ```
    
    /// note | "Detalhes técnicos"
    
    Você também pode usar `from starlette.responses import Response` ou `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 16 07:44:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top