Compare commits

..
Author SHA1 Message Date
gohumbleandGitHub 5282fa733f Update pl.toml
fix polish help text from #417
2022-09-25 20:47:48 +02:00
+1
View File
@@ -144,6 +144,7 @@ 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)