Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for 404 (0.14 sec)

  1. docs/em/docs/tutorial/handling-errors.md

    ๐Ÿ’ฐ ๐Ÿ™‹โ€โ™€ โš  ๐Ÿคญ `return`๐Ÿ˜… ๐Ÿ’ฒ ๐Ÿ”œ ๐ŸŒ– โญ ๐Ÿ“„ ๐Ÿ”ƒ ๐Ÿ”— & ๐Ÿ’‚โ€โ™‚.
    
    ๐Ÿ‘‰ ๐Ÿ–ผ, ๐Ÿ•โ” ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ“จ ๐Ÿฌ ๐Ÿ†” ๐Ÿ‘ˆ ๐Ÿšซ ๐Ÿ”€, ๐Ÿคš โš  โฎ๏ธ ๐Ÿ‘” ๐Ÿ“Ÿ `404`:
    
    ```Python hl_lines="11"
    {!../../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### ๐Ÿ“‰ ๐Ÿ“จ
    
    ๐Ÿšฅ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ“จ `http://example.com/items/foo` ( `item_id` `"foo"`), ๐Ÿ‘ˆ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘” ๐Ÿ“Ÿ 2๏ธโƒฃ0๏ธโƒฃ0๏ธโƒฃ, & ๐ŸŽป ๐Ÿ“จ:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/update_test.go

    		{httpServer1.URL, "", nil},
    		{httpServer2.URL, "fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z\n", nil},
    		{httpServer3.URL, "", fmt.Errorf("Error downloading URL " + httpServer3.URL + ". Response: 404 Not Found")},
    	}
    
    	for _, testCase := range testCases {
    		u, err := url.Parse(testCase.releaseChecksumURL)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
            if (responseData.getHttpStatusCode() == 404) {
                response.httpStatus(responseData.getHttpStatusCode());
                CloseableUtil.closeQuietly(responseData);
                return response;
            }
            writeFileName(response, responseData);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  4. docs/en/docs/tutorial/bigger-applications.md

    ```
    
    !!! tip
        This last path operation will have the combination of tags: `["items", "custom"]`.
    
        And it will also have both responses in the documentation, one for `404` and one for `403`.
    
    ## The main `FastAPI`
    
    Now, let's see the module at `app/main.py`.
    
    Here's where you import and use the class `FastAPI`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/bigger-applications.md

    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    !!! tip
        ๐Ÿ‘‰ ๐Ÿ โžก ๐Ÿ› ๏ธ ๐Ÿ”œ โœ”๏ธ ๐ŸŒ€ ๐Ÿ”–: `["items", "custom"]`.
    
         & โšซ๏ธ ๐Ÿ”œ โœ”๏ธ ๐Ÿ‘ฏโ€โ™‚๏ธ ๐Ÿ“จ ๐Ÿงพ, 1๏ธโƒฃ `404` & 1๏ธโƒฃ `403`.
    
    ## ๐Ÿ‘‘ `FastAPI`
    
    ๐Ÿ”œ, โžก๏ธ ๐Ÿ‘€ ๐Ÿ•น `app/main.py`.
    
    ๐Ÿ“ฅ ๐ŸŒโ” ๐Ÿ‘† ๐Ÿ—„ & โš™๏ธ ๐ŸŽ“ `FastAPI`.
    
    ๐Ÿ‘‰ ๐Ÿ”œ ๐Ÿ‘‘ ๐Ÿ“ ๐Ÿ‘† ๐Ÿˆธ ๐Ÿ‘ˆ ๐Ÿ‘” ๐ŸŒ ๐Ÿ‘ฏโ€โ™‚๏ธ.
    
    & ๐Ÿ† ๐Ÿ‘† โš› ๐Ÿ”œ ๐Ÿ”œ ๐Ÿ–– ๐Ÿšฎ ๐Ÿ‘ ๐ŸŽฏ ๐Ÿ•น, ๐Ÿ‘‘ ๐Ÿ“ ๐Ÿ”œ ๐Ÿ™….
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			// whether you also have the s3:ListBucket
    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you donโ€™t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		},
    
    		// Test case - 8.
    		// Test case with non-existent source file.
    		// Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`.
    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + "non-existent-object"),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/bigger-applications.md

    ```Python hl_lines="30-31" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    !!! tip
        ๆœ€ๅŽ็š„่ฟ™ไธช่ทฏๅพ„ๆ“ไฝœๅฐ†ๅŒ…ๅซๆ ‡็ญพ็š„็ป„ๅˆ๏ผš`["items"๏ผŒ"custom"]`ใ€‚
    
        ๅนถไธ”ๅœจๆ–‡ๆกฃไธญไนŸไผšๆœ‰ไธคไธชๅ“ๅบ”๏ผŒไธ€ไธช็”จไบŽ `404`๏ผŒไธ€ไธช็”จไบŽ `403`ใ€‚
    
    ## `FastAPI` ไธปไฝ“
    
    ็Žฐๅœจ๏ผŒ่ฎฉๆˆ‘ไปฌๆฅ็œ‹็œ‹ไฝไบŽ `app/main.py` ็š„ๆจกๅ—ใ€‚
    
    ๅœจ่ฟ™้‡Œไฝ ๅฏผๅ…ฅๅนถไฝฟ็”จ `FastAPI` ็ฑปใ€‚
    
    ่ฟ™ๅฐ†ๆ˜ฏไฝ ็š„ๅบ”็”จ็จ‹ๅบไธญๅฐ†ๆ‰€ๆœ‰ๅ†…ๅฎน่”็ป“ๅœจไธ€่ตท็š„ไธปๆ–‡ไปถใ€‚
    
    ๅนถไธ”็”ฑไบŽไฝ ็š„ๅคง้ƒจๅˆ†้€ป่พ‘็Žฐๅœจ้ƒฝๅญ˜ๅœจไบŽๅ…ถ่‡ชๅทฑ็š„็‰นๅฎšๆจกๅ—ไธญ๏ผŒๅ› ๆญคไธปๆ–‡ไปถ็š„ๅ†…ๅฎนๅฐ†้žๅธธ็ฎ€ๅ•ใ€‚
    
    ### ๅฏผๅ…ฅ `FastAPI`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/bigger-applications.md

    ```
    
    !!! tip "Tipp"
        Diese letzte Pfadoperation wird eine Kombination von Tags haben: `["items", "custom"]`.
    
        Und sie wird auch beide Responses in der Dokumentation haben, eine fรผr `404` und eine fรผr `403`.
    
    ## Das Haupt-`FastAPI`.
    
    Sehen wir uns nun das Modul unter `app/main.py` an.
    
    Hier importieren und verwenden Sie die Klasse `FastAPI`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. tests/test_application.py

    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
Back to top