2020. július 2., csütörtök 20:09:05 UTC+2 időpontban Liam a következőt írta: > > Wondering why there's no http.ServeStream() API to do chunked > transfer-encoding (or the http2 equivalent), in addition to the nice > features of ServeContent()... > > Has it been considered? Does it merit a proposal? > > If not, some example code in the docs would be helpful... > > Maybe because the current ServeHTTP does the chunked transfer-encoding when Content-Length is not set, and the Writes are more than the predefined buffer length?
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/93abd35b-ca9d-48f2-8346-687eea081605o%40googlegroups.com.
