-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 [STMT-146] 수정된 코드가 테스트 케이스를 통과하도록 버그 수정
- !를 붙이지 않은 논리 오류와 test에서 바라는 결과와 다른 응답을 주어서 테스트가 통과가 되지 않았습니다. - 추출한 content type이 non null일 경우, 시스템 내부에서 정해진 content type 목록에 포함되지 않는 확장자의 경우 Unsupported media type과 Bad Reqeust 둘 중에 어떤 상태코드를 보낼지 고민했는데, Validator인만큼 유효성을 판단한다고 생각하여 `BadRequest` 상태코드를 통일하여 응답하기로 결정하였습니다.
- Loading branch information
Showing
2 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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