Sets the Accept header of this request.
Source
set accept(List<ContentType> contentTypes) { addHeader( HttpHeaders.ACCEPT, contentTypes.map((ct) => ct.toString()).join(",")); }
Sets the Accept header of this request.
set accept(List<ContentType> contentTypes) { addHeader( HttpHeaders.ACCEPT, contentTypes.map((ct) => ct.toString()).join(",")); }