Repository navigation
feat: 셸 없는 에이전트용 HTML 조회와 UTF-8 안내 제공 - #242
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
웹 읽기만 가능한 채팅 에이전트가 JSON 조회 결과를 읽지 못할 때 공개 GET API에
format=html을 붙여 실제 결과를 HTML 문서로 받을 수 있습니다. 첫 화면·llms.txt·README가 첫 HTML 조회를 안내하고, 다이소 상품 상세 링크도 HTML로 이어집니다. 기본 JSON과 POST/MCP 계약은 유지합니다.정적 llms.txt 본문은 UTF-8이지만 charset이 누락돼 한글이 깨져 보였습니다. llms.txt와 robots.txt 응답에
text/plain; charset=utf-8을 명시합니다.기존 캐시·레이트리밋·오류 상태를 보존하며 외부 문자열을 escape하고 변환 후 무효해지는 표현 헤더를 제거합니다. 검증: 3,115개 테스트, 빌드, 커버리지 100%, 로컬 Worker 실제 상품 3개 HTML 조회와 UTF-8 헤더, 브라우저 화면 및 별도 코드 리뷰.