Skip to content

Commit 02cc4bc

Browse files
committed
eli-389 more spelling issues
1 parent 7c67790 commit 02cc4bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/security-headers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This document describes the implementation of security headers for the Eligibili
77
Security headers have been implemented using a two-layer approach:
88

99
1. **API Gateway Responses** (Terraform) - For error responses (4xx, 5xx) generated by API Gateway
10-
2. **Flask Middleware** (Python) - For all successful responses (200, 201, etc.) from the Lambda function
10+
2. **Flask middleware** (Python) - For all successful responses (200, 201, etc.) from the Lambda function
1111

1212
This ensures security headers are present on **all** responses, regardless of where they originate.
1313

@@ -37,12 +37,12 @@ The following response types have been configured:
3737
- `ACCESS_DENIED` (403)
3838
- `THROTTLED` (429)
3939

40-
### 2. Flask Middleware
40+
### 2. Flask middleware
4141

4242
Files:
4343

44-
- `src/eligibility_signposting_api/middleware/security_headers.py` - Middleware implementation
44+
- `src/eligibility_signposting_api/middleware/security_headers.py` - middleware implementation
4545
- `src/eligibility_signposting_api/middleware/__init__.py` - Package exports
46-
- `src/eligibility_signposting_api/app.py` - Middleware registration
46+
- `src/eligibility_signposting_api/app.py` - middleware registration
4747

4848
The middleware uses Flask's `after_request` hook to add security headers to all responses from the Lambda function. It's non-overriding: Allows specific endpoints to override headers if needed

0 commit comments

Comments
 (0)