rhardih / serve

Simple http server for localhost development with flags for enabling gzip and http2
MIT License
102 stars 11 forks source link

Replace deprecated gzip middleware #8

Closed JxBP closed 1 year ago

JxBP commented 1 year ago

This commit replaces the daaku/go.httpgzip in favor of of NYTimes/gziphandler for a gzip middleware as go.httpgzip itself states in its README that it should not be used anymore.

rhardih commented 1 year ago

Thanks for the contribution! 👍