How to serve http partial content with Go?
Serving partial content is non-trivial. See Byte serving on wikipedia for an introduction. You have to handle specific status codes and headers (both request and response), which is not too hard but you shouldn’t waste your time doing that yourself. If the content to serve (or serve from) is a file, you may use http.ServeFile() … Read more