Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,715 for detail (0.75 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial012.py

        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_get_invalid_one_users(client: TestClient):
        response = client.get("/users/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_get_invalid_second_header_items(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial003.py

        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_login_incorrect_username(client: TestClient):
        response = client.post("/token", data={"username": "foo", "password": "secret"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Incorrect username or password"}
    
    
    def test_no_token(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_handling_errors/test_tutorial006.py

                    "HTTPValidationError": {
                        "title": "HTTPValidationError",
                        "type": "object",
                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/SpnegoException.java

        private static final long serialVersionUID = -4591854684249021395L;
    
        /**
         * Constructs a new SpnegoException with no detail message
         */
        public SpnegoException() {
        }
    
        /**
         * Constructs a new SpnegoException with the specified detail message and cause
         * @param message the detail message
         * @param cause the cause of this exception
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/RequestTimeoutException.java

        /**
         * Constructs a new RequestTimeoutException with no detail message.
         */
        public RequestTimeoutException() {
        }
    
        /**
         * Constructs a new RequestTimeoutException with the specified detail message and cause.
         *
         * @param msg the detail message
         * @param rootCause the cause of the exception
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/JobProcessingException.java

         *
         * @param message the detail message explaining the exception
         * @param e the cause of the exception
         */
        public JobProcessingException(final String message, final Throwable e) {
            super(message, e);
        }
    
        /**
         * Constructs a new JobProcessingException with the specified detail message.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/FessSystemException.java

         *
         * @param message the detail message describing the exception
         * @param cause the cause of this exception
         */
        public FessSystemException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new FessSystemException with the specified detail message.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java

     */
    public class MimeTypeException extends CrawlerSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new MimeTypeException with the specified detail message and cause.
         *
         * @param message the detail message explaining the reason for the exception
         * @param cause the underlying cause of the exception
         */
        public MimeTypeException(final String message, final Throwable cause) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. tests/test_request_params/test_query/test_list.py

    )
    def test_required_list_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["query", "p"],
                    "msg": "Field required",
                    "input": IsOneOf(None, {}),
                }
            ]
        }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. docs_src/custom_request_and_route/tutorial002_an_py310.py

                    return await original_route_handler(request)
                except RequestValidationError as exc:
                    body = await request.body()
                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    @app.post("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 974 bytes
    - Viewed (0)
Back to top