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

Commit

Permalink
(maint) Added missing call to 'ConfigureRequest' used in inherited class
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Jun 10, 2020
1 parent 58d2893 commit c0c41ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Codecov/Upload/CodecovUploader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ protected virtual void ConfigureContent(HttpContent content)
content.Headers.ContentType = new MediaTypeHeaderValue("application/x-gzip");
}

protected virtual void ConfigureRequest(HttpRequestMessage request) { }
protected virtual void ConfigureRequest(HttpRequestMessage request)
{
}

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

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

ConfigureContent(request.Content);
Expand Down

0 comments on commit c0c41ba

Please sign in to comment.