public MockResponse clearHeaders(){
  headers.clear();
  return this;
}

public MockResponse clearHeaders ( ) { headers . clear ( ) ; return this ; }
removes all http headers including any " content - length " and " transfer - encoding " headers that were added by default .
