nytimes/gziphandler

export acceptsGzip?

jmackie opened this issue · 2 comments

Is there any particular reason for not exporting the acceptsGzip function?

I'm running a static file handler that serves pre-gzipped files, and it would be really useful to have access to the logic of this function for that use case.

More of a suggestion than an issue, apologies.

Great package btw! 👍

I have no problem with this, but there's a more complete implementation in gddo which you might find useful. I've been meaning to switch to this some time, but I haven't received any complaints about our implementation, so haven't gotten around to it.

See also #34.