Skip to content

Commit d1a997b

Browse files
committed
Merge branch 'release/6.0.1'
2 parents b2204f1 + e7d372b commit d1a997b

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ PM> Install-Package HttpMultipartParser
2727

2828
## .NET framework suport
2929

30-
The parser was built for and tested on .NET 4.8, .NET standard 2.1, .NET 5.0 and .NET 6.0.
31-
Version 5.1.0 was the last version that supported .NET 4.6.1, NET 4.7.2 and .NET standard 2.0.
32-
Version 2.2.4 was the last version that supported older .NET platforms such as .NET 4.5 and .NET standard 1.3.
30+
- The parser was built for and tested on .NET 4.8, .NET standard 2.1, .NET 5.0 and .NET 6.0.
31+
- Version 5.1.0 was the last version that supported .NET 4.6.1, NET 4.7.2 and .NET standard 2.0.
32+
- Version 2.2.4 was the last version that supported older .NET platforms such as .NET 4.5 and .NET standard 1.3.
3333

3434
## Usage
3535

3636
### Non-Streaming (Simple, don't use on very large files)
3737
1. Parse the stream containing the multipart/form-data by invoking `MultipartFormDataParser.Parse` (or it's asynchronous counterpart `MultipartFormDataParser.ParseAsync`).
3838
2. Access the data through the parser.
3939

40-
## Streaming (Handles large files)
40+
### Streaming (Handles large files)
4141
1. Create a new StreamingMultipartFormDataParser with the stream containing the multipart/form-data
4242
2. Set up the ParameterHandler and FileHandler delegates
4343
3. Call `parser.Run()` (or it's asynchronous counterpart `parser.RunAsync()`)

Source/HttpMultipartParser.UnitTests/HttpMultipartParser.UnitTests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10+
<PackageReference Include="coverlet.msbuild" Version="3.1.2">
11+
<PrivateAssets>all</PrivateAssets>
12+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
13+
</PackageReference>
1014
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
1115
<PackageReference Include="xunit" Version="2.4.1" />
1216
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">

build.cake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ Task("Upload-Coverage-Result")
308308
}
309309
catch (Exception e)
310310
{
311+
Warning("An error occured when attempting to upload coverage result to Coveralls.io");
311312
Warning(e.Message);
312313
}
313314

@@ -317,6 +318,7 @@ Task("Upload-Coverage-Result")
317318
}
318319
catch (Exception e)
319320
{
321+
Warning("An error occured when attempting to upload coverage result to Codecov.io");
320322
Warning(e.Message);
321323
}
322324
});

0 commit comments

Comments
 (0)