golfgame/server/middleware/__init__.py
adlee-was-taken bc9445f06e Relicense project under GPL-3.0-or-later
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>
2026-04-05 09:26:06 -04:00

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",
]