- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 540 for denial (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
context.success("Test success message"); context.failure("Test failure message"); context.warning("Test warning message"); context.detail("Test detail message"); context.action("Test action message"); } @Test @DisplayName("should handle indentation correctly") void shouldHandleIndentationCorrectly() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.3K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
return encoded_jwt async def get_current_user(token: str = Depends(oauth2_scheme)): credentials_exception = HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
assertEquals("✗", ConsoleIcon.ERROR.getIcon(mockTerminal)); assertEquals("⚠", ConsoleIcon.WARNING.getIcon(mockTerminal)); assertEquals("•", ConsoleIcon.DETAIL.getIcon(mockTerminal)); assertEquals("→", ConsoleIcon.ACTION.getIcon(mockTerminal)); } @Test @DisplayName("should return ASCII fallback when terminal uses US-ASCII")
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/CIFSException.java
private static final long serialVersionUID = 7806460518865806784L; /** * Constructs a CIFS exception with no detail message. */ public CIFSException() { } /** * Constructs a CIFS exception with the specified detail message and cause. * * @param message the detail message * @param cause the cause of this exception */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/SMBProtocolDecodingException.java
/** * Constructs a new SMBProtocolDecodingException with no detail message. */ public SMBProtocolDecodingException() { } /** * Constructs a new SMBProtocolDecodingException with the specified detail message and cause. * * @param message the detail message * @param cause the cause of the exception */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/PACDecodingException.java
/** * Constructs a new PAC decoding exception with no detail message. */ public PACDecodingException() { this(null, null); } /** * Constructs a new PAC decoding exception with the specified detail message. * @param message the detail message */ public PACDecodingException(final String message) { this(message, null); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (1) -
docs/ru/docs/tutorial/handling-errors.md
```JSON { "detail": "Item not found" } ``` /// tip | Подсказка При вызове `HTTPException` в качестве параметра `detail` можно передавать любое значение, которое может быть преобразовано в JSON, а не только `str`. Вы можете передать `dict`, `list` и т.д.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 14K bytes - Click Count (0) -
tests/test_dependency_duplicates.py
"title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 8.8K bytes - Click Count (0) -
docs_src/app_testing/app_b_py310/main.py
raise HTTPException(status_code=400, detail="Invalid X-Token header") if item_id not in fake_db: raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/") async def create_item(item: Item, x_token: str = Header()) -> Item: if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 13:32:24 GMT 2026 - 1.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial006_py310.py
async def verify_token(x_token: str = Header()): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 583 bytes - Click Count (0)