- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 136 for 404 (0.02 seconds)
-
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` 类。 这将是你的应用程序中将所有内容联结在一起的主文件。 并且由于你的大部分逻辑现在都存在于其自己的特定模块中,因此主文件的内容将非常简单。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun May 11 13:37:26 GMT 2025 - 18.4K bytes - Click Count (0) -
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.`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 120.6K bytes - Click Count (0) -
cmd/bucket-handlers.go
// This operation is useful to determine if a bucket exists. // The operation returns a 200 OK if the bucket exists and you // have permission to access it. Otherwise, the operation might // return responses such as 404 Not Found and 403 Forbidden. func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "HeadBucket") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 63.9K bytes - Click Count (0) -
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"),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
cmd/bucket-replication.go
go stats.trackEWMA() } type proxyResult struct { Proxy bool Err error } // get Reader from replication target if active-active replication is in place and // this node returns a 404 func proxyGetToReplicationTarget(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions, proxyTargets *madmin.BucketTargets) (gr *GetObjectReader, proxy proxyResult, err error) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
Nullability was previously ambiguous and lenient but now the compiler will enforce strict null checks. * New: The response message is now non-null. This is the "Not Found" in the status line "HTTP 404 Not Found". If you are building responses programmatically (with `new Response.Builder()`) you must now always supply a message. An empty string `""` is permitted. This value was never null onCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
tests/test_include_router_defaults_overrides.py
deprecated=True, ) router2_default = APIRouter() router4_override = APIRouter( prefix="/level4", tags=["level4a", "level4b"], dependencies=[Depends(dep4)], responses={ 404: {"description": "Client error level 4"}, 504: {"description": "Server error level 4"}, }, default_response_class=ResponseLevel4, callbacks=callback_router4.routes, deprecated=True, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 358.6K bytes - Click Count (0) -
cmd/erasure-server-pool.go
// of an object to check for object existence. For versioned buckets, MinIO's non-recursive // call will report top level prefixes in deleted state, whereas spark/hadoop interpret this as non-empty // and throw a 404 exception. This is especially a problem for spark jobs overwriting the same partition // repeatedly. This workaround recursively lists the top 3 entries including delete markers to reflect the
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertCached(true, 307) assertCached(true, 308) assertCached(false, 400) assertCached(false, 401) assertCached(false, 402) assertCached(false, 403) assertCached(true, 404) assertCached(true, 405) assertCached(false, 406) assertCached(false, 408) assertCached(false, 409) // the HTTP spec permits caching 410s, but the RI doesn't. assertCached(true, 410)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 116.8K bytes - Click Count (0) -
fastapi/routing.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0)