mirror of
https://github.com/ChuckNorrison/LightningTipBot.git
synced 2026-08-13 12:33:14 +02:00
removed connection keep alive header (#421)
This commit is contained in:
parent
9e8958ece2
commit
ec679d5e6b
1 changed files with 0 additions and 1 deletions
|
|
@ -144,7 +144,6 @@ func (s Service) InvoiceStream(w http.ResponseWriter, r *http.Request) {
|
|||
user := telegram.LoadUser(r.Context())
|
||||
w.Header().Set("Content-Type", "application/stream+json")
|
||||
w.Header().Set("Cache-Control", "no-cache")
|
||||
w.Header().Set("Connection", "keep-alive")
|
||||
flusher, err := w.(http.Flusher)
|
||||
if !err {
|
||||
http.Error(w, "Streaming unsupported!", http.StatusInternalServerError)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue