Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] - Implement an advanced routing system #908

Open
0x180 opened this issue Oct 21, 2024 · 0 comments
Open

[Feature] - Implement an advanced routing system #908

0x180 opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@0x180
Copy link
Contributor

0x180 commented Oct 21, 2024

Describe the solution you'd like
The routing system should be enhanced to match routes based on specific S3 actions. The router must detect the incoming S3 action and invoke the corresponding S3 action route handler. Additionally, the current controllers should be refactored into smaller, more maintainable, and readable functions.

Implementation details include:

  1. A middleware that matches the request based on query parameters.
  2. A middleware that matches the request based on headers.

Furthermore, access control management (ACL, Policy, Object-Lock) should be refactored into middleware for better separation of concerns and maintainability.

If no matching route is found, the router should return a MethodNotAllowed error response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant