Absolutely. Fortunately the stdlib is already covering that case. Check [http.ServceContent](http://golang.org/pkg/net/http/#ServeContent).

And for some context check @bradfitz [talk](http://talks.golang.org/2013/oscon-dl.slide#40) from OSCON last year.