code: public final String setHeader(String name, String value) {
          sortedHeaders = null;
          return headers.put(name, value);
      }
docs: Sets a header field value based on its name.
  
  @param name The header name to set
  @param value The header value to set
  @return the previous value or null if the field was previously unset.