List of usage examples for io.netty.handler.codec.http HttpHeaderNames ACCEPT_RANGES
AsciiString ACCEPT_RANGES
To view the source code for io.netty.handler.codec.http HttpHeaderNames ACCEPT_RANGES.
Click Source Link
From source file:io.crate.protocols.http.HttpBlobHandler.java
License:Apache License
private void setDefaultGetHeaders(HttpResponse response) { response.headers().set(HttpHeaderNames.ACCEPT_RANGES, "bytes"); response.headers().set(HttpHeaderNames.EXPIRES, EXPIRES_VALUE); response.headers().set(HttpHeaderNames.CACHE_CONTROL, CACHE_CONTROL_VALUE); }