- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 334 for status_ (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
// Enum instances are singletons CrawlerStatus status1 = CrawlerStatus.INITIALIZING; CrawlerStatus status2 = CrawlerStatus.INITIALIZING; // Should be the same instance assertSame(status1, status2); assertTrue(status1 == status2); // valueOf should return the same instance CrawlerStatus status3 = CrawlerStatus.valueOf("INITIALIZING");Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
<img src="/img/tutorial/response-status-code/image02.png"> /// note | Technical Details You could also use `from starlette import status`. **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette. /// ## Changing the default { #changing-the-default }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/advanced/additional-status-codes.md
# Additional Status Codes { #additional-status-codes } By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`. It will use the default status code or the one you set in your *path operation*. ## Additional status codes { #additional-status-codes_1 }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
# Response - Change Status Code { #response-change-status-code } You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. 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.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.5K bytes - Viewed (0) -
cmd/site-replication.go
return errSRInvalidRequest(errInvalidArgument) } userReq := *change.UserReq if userReq.Status != "" && userReq.SecretKey == "" { // Status is set without secretKey updates means we are // only changing the account status. _, err = globalIAMSys.SetUserStatus(ctx, change.AccessKey, userReq.Status) } else { // We don't allow internal user creation with LDAP enabled for now
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 184.7K bytes - Viewed (1) -
cmd/bucket-handlers_test.go
// Call the ServeHTTP to executes the registered handler. apiRouter.ServeHTTP(rec, req) // Assert the response code with the expected status. if rec.Code != testCase.expectedRespStatus { t.Errorf("Test %d: MinIO %s: Expected the response status to be `%d`, but instead found `%d`", i, instanceType, testCase.expectedRespStatus, rec.Code) } // read the response body.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
func (rs *ReplicationState) Equal(o ReplicationState) bool { return rs.ReplicaStatus == o.ReplicaStatus && rs.ReplicationStatusInternal == o.ReplicationStatusInternal && rs.VersionPurgeStatusInternal == o.VersionPurgeStatusInternal } // CompositeReplicationStatus returns overall replication status for the object version being replicated.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
} /** * Represents the status of an API response. */ public enum Status { /** Successful response status. */ OK(0), /** Bad request status indicating client error. */ BAD_REQUEST(1), /** System error status indicating server error. */ SYSTEM_ERROR(2), /** Unauthorized status indicating authentication failure. */ UNAUTHORIZED(3),Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
Object resp = inv.getArgument(1); // Set private fields: status on SmbComTransactionResponse and available on TransPeekNamedPipeResponse Field statusField = jcifs.internal.smb1.trans.SmbComTransactionResponse.class.getDeclaredField("status"); statusField.setAccessible(true); statusField.setInt(resp, status);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) // assert the HTTP response status code. c.Assert(response.StatusCode, http.StatusOK) // initiate anonymous HTTP request to fetch the object which does not exist. We need to return AccessDenied. response, err = s.client.Get(getGetObjectURL(s.endPoint, bucketName, objectName+".1")) c.Assert(err, nil) // assert the http response status code.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0)