public static HttpHeaderCollectionBuilder SetContentLength( this HttpHeaderCollectionBuilder builder, int contentLength) { builder.Replace("Content-Length", contentLength.ToString()); return(builder); }
public static HttpHeaderCollectionBuilder SetContentType( this HttpHeaderCollectionBuilder builder, string contentType) { builder.Replace("Content-Type", contentType); return(builder); }