rest-assured/src/main/java/io/restassured/builder/ResponseBuilder.java
public ResponseBuilder setContentType(String contentType) {
        notNull(contentType, "Content type");
        restAssuredResponse.setContentType(contentType);
        setHeader(CONTENT_TYPE, contentType);
        return this;
    }
public ResponseBuilder setContentType(String contentType) {
        notNull(contentType, "Content type");
        restAssuredResponse.setContentType(contentType);
        setHeader(CONTENT_TYPE, contentType);
        return this;
    }
Set the content type of the response

@return The builder