diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java b/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java index 1b85ead9665..1edfd83141b 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/ResourceService.java @@ -836,7 +836,7 @@ public class ResourceService r.putHeaders(content, contentLength, _etags); HttpFields fields = r.getHttpFields(); if (_acceptRanges && !fields.contains(HttpHeader.ACCEPT_RANGES)) - fields.add(ACCEPT_RANGES); + fields.add(ACCEPT_RANGES); if (_cacheControl != null && !fields.contains(HttpHeader.CACHE_CONTROL)) fields.add(_cacheControl);