Commit 5b03cb3
authored
fix: fix status check for 2xx responses (#59)
## Summary
- fix 2xx status comparison logic in AuthenticationExtensionMiddleware
- fix 2xx status comparison logic in UpdateOpenApiMiddleware
## Testing
- `pytest -q tests/test_openapi.py::test_no_openapi_spec_endpoint -q`
*(fails: ModuleNotFoundError: No module named 'uvicorn')*
- `pytest -q` *(fails: ModuleNotFoundError: No module named 'uvicorn')*
------
https://chatgpt.com/codex/tasks/task_e_6859a6df1404832e9cb300eb8e944b161 parent 1a75550 commit 5b03cb3
File tree
2 files changed
+2
-2
lines changed- src/stac_auth_proxy/middleware
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments