code: public String[] getHeaderNames() {
          Set<String> headers = this.headers.keySet();
  
          return headers.toArray(new String[headers.size()]);
      }
docs: Gets the header names of all headers set in this response.
  
  @return an array of {@code String}s