Skip to content

Commit

Permalink
Update handlers.go
Browse files Browse the repository at this point in the history
Remove : Content-Length
  • Loading branch information
zorglube authored Mar 1, 2024
1 parent 7ffff97 commit 01d0d9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ func handleLive(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "video/x-flv")
w.Header().Set("Transfer-Encoding", "chunked")
w.Header().Set("Access-Control-Allow-Origin", "*")
// w.Header().Set("Content-Length", "0")
w.WriteHeader(200)
flusher := w.(http.Flusher)
flusher.Flush()
Expand Down

0 comments on commit 01d0d9f

Please sign in to comment.