Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix msw content-length problem #20

Closed
WonhyeongLee opened this issue Feb 28, 2024 · 1 comment
Closed

fix msw content-length problem #20

WonhyeongLee opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels
fix 구현한 기능을 수정해야 할 때

Comments

@WonhyeongLee
Copy link
Owner

설명

MSW 2 ~ 2.2.1 버전에서 한글을 사용할 때 오류가 발생해서 (Content-Length가 비정상적으로 전달돼서 데이터가 짤리는 문제)
handler에 수동으로 json 데이터의 길이를 구해 헤더에 보내도록 구현해 사용하고 있었는데
2.2.2 버전에서 해당 이슈가 해결이 되어 MSW를 업데이트하고 수정 한 부분을 제거해도 작동하는지 테스트하고 적용합니다.

MSW 관련 이슈

@WonhyeongLee WonhyeongLee added the fix 구현한 기능을 수정해야 할 때 label Feb 28, 2024
@WonhyeongLee WonhyeongLee self-assigned this Feb 28, 2024
Copy link

A branch has been created for this issue: fix/20-fix_msw_content-length_problem.

WonhyeongLee added a commit that referenced this issue Feb 28, 2024
- #17의 MSW 2버전 이후 한글 사용 시 JSON.Parse 오류 수정 부분 라이브러리 버전업으로 해결
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 구현한 기능을 수정해야 할 때
Projects
None yet
Development

No branches or pull requests

1 participant