You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
I Luk Kim 45d1469332 fix(sec): resp.get_encoding() 버그 수정 — 504 직접 원인
content.read()로 body를 읽은 후 resp.get_encoding() 호출 시
aiohttp 내부 self._body(None) 접근으로 예외 발생.
이 예외가 except Exception에 잡혀 6번 retry + 지수 backoff(최대 ~22초)
→ asyncio.wait_for 캔슬 → TimeoutError → 504.

Content-Type 헤더에서 charset 직접 파싱으로 교체.
기본값 utf-8, SEC는 대부분 charset 미지정이므로 실질적으로 항상 utf-8 사용.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 months ago
..
api fix(sec): exhibit timeout 15초 → 25초 (2단계 fetch 고려) 5 months ago
core chore: remove SQLite entirely, PostgreSQL only 5 months ago
middleware Initial commit with full project improvements 5 months ago
models feat(filings): add accepted_at field to filing search response 5 months ago
schemas perf: Phase 1-3 Stock Oracle API 성능 개선 5 months ago
services fix(sec): resp.get_encoding() 버그 수정 — 504 직접 원인 5 months ago
utils Codebase improvements: caching decorator, Pydantic v2, DB indexes, connection pooling, Alembic 5 months ago
__init__.py Initial commit with full project improvements 5 months ago
main.py docs: 앱 내부 문서(루트 HTML, OpenAPI)에 index 엔드포인트 추가 5 months ago