Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Remove unused header #107

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Source/Codecov/Upload/CodecovUploader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ protected virtual void ConfigureContent(HttpContent content)
content.Headers.ContentType = new MediaTypeHeaderValue("application/x-gzip");
}

protected virtual void ConfigureRequest(HttpRequestMessage request)
=> request.Headers.TryAddWithoutValidation("x-amz-acl", "public-read");
protected virtual void ConfigureRequest(HttpRequestMessage request) {}

protected virtual HttpResponseMessage CreateResponse(HttpRequestMessage request)
{
ConfigureRequest(request);

request.Content = new ByteArrayContent(GetReportBytes());

ConfigureContent(request.Content);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.