- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 943 for 400 (0.01 seconds)
-
docs_src/app_testing/app_b_an_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: Annotated[str, Header()]) -> Item: if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header")
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) -
internal/s3select/json/errors.go
message: "The JsonType is invalid. Only DOCUMENT and LINES are supported.", statusCode: 400, cause: err, } } func errJSONParsingError(err error) *s3Error { return &s3Error{ code: "JSONParsingError", message: "Encountered an error parsing the JSON file. Check the file and try again.", statusCode: 400, cause: err, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K 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")
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) -
src/main/config/openapi/openapi-user.yaml
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu May 09 06:31:27 GMT 2024 - 21.6K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/test_main.py
"title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token(): response = client.get("/items/foo", headers={"X-Token": "hailhydra"}) assert response.status_code == 400 assert response.json() == {"detail": "Invalid X-Token header"} def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Aug 15 22:31:16 GMT 2024 - 1.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java
* <li>netware: Novell NetWare</li> * <li>dos: DOS variants</li> * <li>tandem: Tandem systems</li> * <li>openvms: OpenVMS</li> * <li>z/os: z/OS and OS/390</li> * <li>os/400: OS/400</li> * </ul> * * @since 4.0.0 */ @Experimental public interface OsService extends Service { /** * Returns the OS full name as reported by the system property "os.name".
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 10 14:12:18 GMT 2025 - 3.5K bytes - Click Count (0) -
tests/test_include_router_defaults_overrides.py
callback_router5 = APIRouter() @callback_router5.get("/") async def callback5(level5: str): pass # pragma: nocover app = FastAPI( dependencies=[Depends(dep0)], responses={ 400: {"description": "Client error level 0"}, 500: {"description": "Server error level 0"}, }, default_response_class=ResponseLevel0, callbacks=callback_router0.routes, )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 385.6K bytes - Click Count (0) -
internal/s3select/csv/errors.go
message: "Encountered an error parsing the CSV file. Check the file and try again.", statusCode: 400, cause: err, } } func errInvalidTextEncodingError() *s3Error { return &s3Error{ code: "InvalidTextEncoding", message: "UTF-8 encoding is required.", statusCode: 400, cause: errors.New("invalid utf8 encoding"), }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.6K bytes - Click Count (0) -
docs_src/security/tutorial005_py310.py
raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: OAuth2PasswordRequestForm = Depends(), ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user: raise HTTPException(status_code=400, detail="Incorrect username or password")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/webapp/css/font-awesome.min.css
Free";font-style:normal;font-weight:400;font-display:auto;src:url(./fonts/fa-regular-400.eot);src:url(./fonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(./fonts/fa-regular-400.woff2) format("woff2"),url(./fonts/fa-regular-400.woff) format("woff"),url(./fonts/fa-regular-400.ttf) format("truetype"),url(./fonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(./fonts/fa-soli...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 14 21:22:25 GMT 2019 - 55.8K bytes - Click Count (2)