Skip to content

Commit

Permalink
Merge pull request #19 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
add support for System.StringComparison.OrdinalIgnoreCase
  • Loading branch information
Ali-YousefiTelori authored Dec 31, 2023
2 parents 31b4746 + 6f30182 commit f73e407
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="EasyMicroservices.Tests" Version="0.0.0.3" />
<PackageReference Include="EasyMicroservices.Tests" Version="0.0.0.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Platforms>AnyCPU;x64;x86</Platforms>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.15</Version>
<Version>0.0.0.16</Version>
<Description>Laboratory of http client.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>test,tests,http,https,httpclient,laboratory</PackageTags>
Expand All @@ -17,7 +17,7 @@
<Folder Include="DataTypes\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="EasyMicroservices.Utilities" Version="0.0.0.11" />
<PackageReference Include="EasyMicroservices.Utilities" Version="0.0.0.13" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.Hosting">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public bool IsValid(string request)
{
if (space is NormalTextSpace && space is not SkipBodySpace)
{
var index = request.IndexOf(space.Text, startFrom);
var index = request.IndexOf(space.Text, startFrom, System.StringComparison.OrdinalIgnoreCase);
if (index < 0)
return false;
startFrom = index + space.Text.Length;
Expand Down

0 comments on commit f73e407

Please sign in to comment.