- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,059 for status_ (0.07 seconds)
-
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
@AfterEach protected void tearDown() { // do nothing } @Test void testList_ok() { checkGetMethod(Collections.emptyMap(), getListEndpointSuffix() + "/").then().body("response.status", equalTo(0)); } @Test void testUpload_ok() { // Create a test file content String fileContent = "Test file content for storage upload"; // Upload fileCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
{* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *} /// info The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec. Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header. In the case of bearer tokens (our case), the value of that header should be `Bearer`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.4K bytes - Click Count (0) -
cmd/erasure-healing-common.go
if pe != checkPartSuccess { c++ } } return c } // checkObjectWithAllParts sets partsMetadata and onlineDisks when xl.meta is inexistant/corrupted or outdated // it also checks if the status of each part (corrupted, missing, ok) in each drive func checkObjectWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetadata []FileInfo, errs []error, latestMeta FileInfo, filterByETag bool, bucket, object string,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
docs/sts/client_grants/__init__.py
) if response.status != 200: message = "Credential refresh failed, response: %s" raise CredentialRetrievalError( provider=method, error_msg=message % response.status, ) creds = json.loads(response.data) query = {}Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
*/ @Test void testIsConnected() { when(smbTreeHandle.isConnected()).thenReturn(true); assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true"); when(smbTreeHandle.isConnected()).thenReturn(false); assertFalse(smbTreeHandle.isConnected(), "isConnected() should return false after status change"); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
tests/test_dependency_paramless.py
dependencies=[Security(process_auth, scopes=["a", "b"])], ) def get_parameterless_with_scopes(): return {"status": "ok"} @app.get( "/parameterless-without-scopes", dependencies=[Security(process_auth)], ) def get_parameterless_without_scopes(): return {"status": "ok"} client = TestClient(app) def test_get_credentials():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/test_repeated_dependency_schema.py
def test_response(): response = client.get("/", headers={"someheader": "hello"}) assert response.status_code == status.HTTP_200_OK assert response.json() == {"dep1": "hello", "dep2": "hello123"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == status.HTTP_200_OK actual_schema = response.json() assert (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null); } /** * Sets an error in the current request with the specified status code and message. * * @param statusCode The HTTP status code * @param message The error message */ public static void setError(final int statusCode, final String message) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
/** * Named pipe status indicating the pipe is disconnected. */ public static final int STATUS_DISCONNECTED = 1; /** * Named pipe status indicating the pipe is listening for connections. */ public static final int STATUS_LISTENING = 2; /** * Named pipe status indicating the connection is established and operational. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0) -
docs_src/security/tutorial007_py310.py
import secrets from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() def get_current_username(credentials: HTTPBasicCredentials = Depends(security)): current_username_bytes = credentials.username.encode("utf8") correct_username_bytes = b"stanleyjobson" is_correct_username = secrets.compare_digest(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0)