Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 1,467 for example2 (0.25 seconds)

  1. docs/en/docs/advanced/response-change-status-code.md

    But in some cases you need to return a different status code than the default.
    
    ## Use case { #use-case }
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. CLAUDE.md

    - **Deferred/Promise**: Async operations
    
    ### Index Alias Strategy
    
    Zero-downtime index updates using dual aliases:
    
    ```
    Index Naming: {baseIndex}.{timestamp}
    Example:      my-suggest.20250123120000
    
    Aliases:
    ├── Search Alias: {baseIndex}          (read operations)
    └── Update Alias: {baseIndex}.update   (write operations)
    ```
    
    ### Text Processing Pipeline
    
    ```
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

      }
    
      @Test fun testMultipleParameters() {
        val mediaType = parse("Message/Partial; number=2; total=3; id=\"oc=abc@example.com\"")
        assertEquals("2", mediaType.parameter("number"))
        assertEquals("3", mediaType.parameter("total"))
        assertEquals("oc=abc@example.com", mediaType.parameter("id"))
        assertNull(mediaType.parameter("foo"))
      }
    
      @Test fun testRepeatedParameter() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_security/test_tutorial004.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "disabled": False,
        }
    
    
    def test_incorrect_token(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Declare metadata { #declare-metadata }
    
    You can declare all the same parameters as for `Query`.
    
    For example, to declare a `title` metadata value for the path parameter `item_id` you can type:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

     * that should be treated as equivalent during crawling. This helps avoid indexing
     * duplicate content from the same logical site that may be accessible via different
     * hostnames (e.g., www.example.com and example.com).</p>
     */
    public class DuplicateHostService extends FessAppService {
    
        /**
         * DBFlute behavior for duplicate host operations.
         * Provides database access methods for DuplicateHost entities.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_schema_extra_example/test_tutorial003.py

                                "application/json": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Item",
                                        "examples": [
                                            {
                                                "description": "A very nice Item",
                                                "name": "Foo",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/body-multiple-params.md

    Dans l'exemple précédent, les opérations de routage attendaient un body JSON avec les attributs d'un `Item`, par exemple :
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Mais vous pouvez également déclarer plusieurs paramètres provenant de body, par exemple `item` et `user` simultanément :
    
    {* ../../docs_src/body_multiple_params/tutorial002_py310.py hl[20] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 11:10:17 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Ensures remote host name is sourced from transport and resources are closed
            when(transport.getRemoteHostName()).thenReturn("remote.example");
            String name = handle.getRemoteHostName();
            assertEquals("remote.example", name);
            // try-with-resources should close both
            verify(session).close();
            verify(transport).close();
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  10. docs/extensions/fan-out/README.md

    ## How to enable Fan-Out Uploads ?
    
    Fan-Out uploads are automatically enabled if `x-minio-fanout-list` form-field is provided with the PostUpload API, to keep things simple higher level APIs are provided in our SDKs for example in `minio-go` SDK:
    
    ```
    PutObjectFanOut(ctx context.Context, bucket string, fanOutContent io.Reader, fanOutReq minio.PutObjectFanOutRequest) ([]minio.PutObjectFanOutResponse, error)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu May 25 05:51:07 GMT 2023
    - 1.4K bytes
    - Click Count (0)
Back to Top