mark_recently_seen(unique);
var accept_encoding = request.headers['accept-encoding'];
- var accept_gzip;
- if (accept_encoding !== undefined && accept_encoding.match(/\bgzip\b/)) {
- accept_gzip = true;
- } else {
- accept_gzip = false;
- }
+ let accept_gzip = (accept_encoding !== undefined && accept_encoding.match(/\bgzip\b/));
// If we already have something newer than what the user has,
// just send it out and be done with it.