code: public RequestHeader withAcceptedResponseProtocols(PSequence<MessageProtocol> acceptedResponseProtocols) {
          return new RequestHeader(method, uri, protocol, acceptedResponseProtocols, principal, headers, lowercaseHeaders);
      }
docs: Return a copy of this request header with the given accepted response protocols set.
  
  @param acceptedResponseProtocols The accepted response protocols to set.
  @return A copy of this request header.