Replaces the previous MIT license with GPL-3.0-or-later. Adds the full GPL-3.0 license text at LICENSE, updates pyproject.toml metadata and classifier, updates the README, and adds SPDX-License-Identifier headers to all first-party server Python and client JavaScript sources. Third-party anime.min.js is left untouched. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 lines
526 B
Python
20 lines
526 B
Python
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
"""
|
|
Middleware components for Golf game server.
|
|
|
|
Provides:
|
|
- RateLimitMiddleware: API rate limiting with Redis backend
|
|
- SecurityHeadersMiddleware: Security headers (CSP, HSTS, etc.)
|
|
- RequestIDMiddleware: Request tracing with X-Request-ID
|
|
"""
|
|
|
|
from .ratelimit import RateLimitMiddleware
|
|
from .security import SecurityHeadersMiddleware
|
|
from .request_id import RequestIDMiddleware
|
|
|
|
__all__ = [
|
|
"RateLimitMiddleware",
|
|
"SecurityHeadersMiddleware",
|
|
"RequestIDMiddleware",
|
|
]
|