Skip to content

업로드 signed URL의 x-goog-content-length-range 헤더 — GCS 버킷 CORS #12

Description

@hwangdaesun

배경

PR #8의 코멘트 7번에서 지적: 서버는 업로드 signed URL에 15MB 크기 제한 헤더 x-goog-content-length-range를 서명에 포함하도록 수정됨 (커밋 a25b8a8).

현재 상황

서버 구현은 완료:

  • GcsPhotoStorage.signUrl에 x-goog-content-length-range: 0,15728640을 ext header로 추가
  • 커밋: a25b8a8

문제

이 헤더를 서명에 포함했으므로, 클라이언트의 PUT 요청에 동일한 값이 없으면 403 SignatureDoesNotMatch 에러 발생.

해야 할 일 (저장소 범위 밖)

  1. GCS 버킷 설정: CORS 허용 헤더 목록에 x-goog-content-length-range 추가
  2. PPOTTO-client: PUT 요청에 다음 헤더 포함

타이밍

서버 배포 전에 인프라 작업이 완료되어야 하며, 함께 배포되어야 합니다.

관련

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions