}
@Override
public void setResponseHeaders(Map<String,List<String>> headers) {
Headers r = httpExchange.getResponseHeaders();
r.clear();
for(Map.Entry <String, List<String>> entry : headers.entrySet()) {
String name = entry.getKey();
List<String> values = entry.getValue();
// ignore headers that interfere with our correct operations
if (!name.equalsIgnoreCase("Content-Length") && !name.equalsIgnoreCase("Content-Type")) {