Removing `accept-ranges` header when appropriate