소스 검색

Removed accept range header

Toby Chui 1 년 전
부모
커밋
3aa9071d06
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      mod/media/transcoder/transcoder.go

+ 0 - 1
mod/media/transcoder/transcoder.go

@@ -46,7 +46,6 @@ func TranscodeAndStream(w http.ResponseWriter, r *http.Request, inputFile string
 	w.Header().Set("Content-Type", "video/mp4")
 	w.Header().Set("Transfer-Encoding", "chunked")
 	w.Header().Set("Cache-Control", "no-cache")
-	w.Header().Set("Accept-Ranges", "bytes")
 
 	// Get the command output pipe
 	stdout, err := cmd.StdoutPipe()