This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split project and removed dependency on microsoft.net.http
- Loading branch information
Showing
56 changed files
with
386 additions
and
849 deletions.
There are no files selected for viewing
Binary file removed
BIN
-9.29 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.0.0-RC.nupkg
Binary file not shown.
Binary file removed
BIN
-12.1 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.0.0-RC.symbols.nupkg
Binary file not shown.
Binary file removed
BIN
-13.2 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.0.3.nupkg
Binary file not shown.
Binary file removed
BIN
-18.3 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.0.3.symbols.nupkg
Binary file not shown.
Binary file removed
BIN
-14.5 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.1.0.nupkg
Binary file not shown.
Binary file removed
BIN
-22 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.1.0.symbols.nupkg
Binary file not shown.
Binary file removed
BIN
-15.5 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.1.1.nupkg
Binary file not shown.
Binary file removed
BIN
-23.1 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.1.1.symbols.nupkg
Binary file not shown.
Binary file removed
BIN
-15.5 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.1.2.nupkg
Binary file not shown.
Binary file removed
BIN
-23.8 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.1.2.symbols.nupkg
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-25.2 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.2.0.symbols.nupkg
Binary file not shown.
Binary file removed
BIN
-26.6 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.2.1.nupkg
Binary file not shown.
Binary file removed
BIN
-45.6 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.2.1.symbols.nupkg
Binary file not shown.
Binary file removed
BIN
-17.6 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.2.2.nupkg
Binary file not shown.
Binary file removed
BIN
-29.3 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.2.2.symbols.nupkg
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-26 KB
dist/Microsoft.AspNet.WebApi.MessageHandlers.Compression.1.3.0.symbols.nupkg
Binary file not shown.
35 changes: 35 additions & 0 deletions
35
dist/nuget/Microsoft.AspNet.WebApi.Extensions.Compression.Server.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>Microsoft.AspNet.WebApi.Extensions.Compression.Server</id> | ||
<version>2.0.0</version> | ||
<title>Microsoft ASP.NET Web API Compression Support</title> | ||
<authors>Ove Andersen</authors> | ||
<owners>EyeCatch</owners> | ||
<description> | ||
Module for ASP.NET Web API that enables GZip and Deflate support for incoming and outgoing requests. | ||
Please note that this is not an official Microsoft package. | ||
</description> | ||
<summary> | ||
Module for ASP.NET Web API that enables GZip and Deflate support for incoming and outgoing requests. Please note that this is not an official Microsoft package. | ||
</summary> | ||
<language>en-US</language> | ||
<projectUrl>https://github.com/azzlack/Microsoft.AspNet.WebApi.MessageHandlers.Compression</projectUrl> | ||
<iconUrl>http://www.eyecatch.no/favicon.ico</iconUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<licenseUrl>http://www.eyecatch.no/licenses/apache-20/</licenseUrl> | ||
<copyright>Copyright EyeCatch 2016</copyright> | ||
<dependencies> | ||
</dependencies> | ||
<references></references> | ||
<tags>aspnet webapi aspnetwebapi http compression gzip deflate eyecatch</tags> | ||
</metadata> | ||
<files> | ||
<file src="..\..\src\Server\bin\Release\Microsoft.AspNet.WebApi.Extensions.Compression.Server.dll" target="lib\net45" /> | ||
<file src="..\..\src\Server\bin\Release\Microsoft.AspNet.WebApi.Extensions.Compression.Server.pdb" target="lib\net45" /> | ||
<file src="..\..\src\Core\bin\Release\System.Net.Http.Extensions.Compression.Core.dll" target="lib\net45" /> | ||
<file src="..\..\src\Core\bin\Release\System.Net.Http.Extensions.Compression.Core.pdb" target="lib\net45" /> | ||
<file src="..\..\src\Core\**\*.cs" exclude="**\obj\**\*.*" target="src" /> | ||
<file src="..\..\src\Server\**\*.cs" exclude="**\obj\**\*.*" target="src" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
dist/nuget/System.Net.Http.Extensions.Compression.Client.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0"?> | ||
<package > | ||
<metadata> | ||
<id>System.Net.Http.Extensions.Compression.Client</id> | ||
<version>2.0.0</version> | ||
<title>Microsoft HTTP Client Compression Support</title> | ||
<authors>Ove Andersen</authors> | ||
<owners>EyeCatch</owners> | ||
<description> | ||
Module for Microsoft HTTP Client that enables GZip and Deflate support for incoming and outgoing requests. | ||
Please note that this is not an official Microsoft package. | ||
</description> | ||
<summary> | ||
Module for Microsoft HTTP Client that enables GZip and Deflate support for incoming and outgoing requests. Please note that this is not an official Microsoft package. | ||
</summary> | ||
<language>en-US</language> | ||
<projectUrl>https://github.com/azzlack/Microsoft.AspNet.WebApi.MessageHandlers.Compression</projectUrl> | ||
<iconUrl>http://www.eyecatch.no/favicon.ico</iconUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<licenseUrl>http://www.eyecatch.no/licenses/apache-20/</licenseUrl> | ||
<copyright>Copyright EyeCatch 2016</copyright> | ||
<dependencies> | ||
<group> | ||
<dependency id="Microsoft.Net.Http" version="2.2.29" /> | ||
<dependency id="Microsoft.Bcl.Compression" version="3.9.85" /> | ||
</group> | ||
</dependencies> | ||
<references></references> | ||
<tags>aspnet webapi aspnetwebapi http compression gzip deflate eyecatch</tags> | ||
</metadata> | ||
<files> | ||
<file src="..\..\src\Client\bin\Release\System.Net.Http.Extensions.Compression.Client.dll" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac" /> | ||
<file src="..\..\src\Client\bin\Release\System.Net.Http.Extensions.Compression.Client.pdb" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac" /> | ||
<file src="..\..\src\Core\bin\Release\System.Net.Http.Extensions.Compression.Core.dll" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac" /> | ||
<file src="..\..\src\Core\bin\Release\System.Net.Http.Extensions.Compression.Core.pdb" target="lib\portable-net45+wp8+wpa81+win8+monoandroid+monotouch+Xamarin.iOS+Xamarin.Mac" /> | ||
<file src="..\..\src\Core\**\*.cs" exclude="**\obj\**\*.*" target="src" /> | ||
<file src="..\..\src\Client\**\*.cs" exclude="**\obj\**\*.*" target="src" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{56E19FF7-9AC7-48C5-9AC2-105F55AA16E1}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>System.Net.Http.Extensions.Compression.Client</RootNamespace> | ||
<AssemblyName>System.Net.Http.Extensions.Compression.Client</AssemblyName> | ||
<DefaultLanguage>en-US</DefaultLanguage> | ||
<FileAlignment>512</FileAlignment> | ||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="ClientCompressionHandler.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Core\Core.csproj"> | ||
<Project>{b7534554-ab6c-44ac-bf34-424dbe596216}</Project> | ||
<Name>Core</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
8 changes: 4 additions & 4 deletions
8
...s.Compression/ClientCompressionHandler.cs → src/Client/ClientCompressionHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 2 additions & 4 deletions
6
...Compression/Compressors/BaseCompressor.cs → src/Core/Compressors/BaseCompressor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pression/Compressors/DeflateCompressor.cs → src/Core/Compressors/DeflateCompressor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Compression/Compressors/GZipCompressor.cs → src/Core/Compressors/GZipCompressor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{B7534554-AB6C-44AC-BF34-424DBE596216}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>System.Net.Http.Extensions.Compression.Core</RootNamespace> | ||
<AssemblyName>System.Net.Http.Extensions.Compression.Core</AssemblyName> | ||
<DefaultLanguage>en-US</DefaultLanguage> | ||
<FileAlignment>512</FileAlignment> | ||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<TargetFrameworkProfile>Profile111</TargetFrameworkProfile> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="Compressors\BaseCompressor.cs" /> | ||
<Compile Include="Compressors\DeflateCompressor.cs" /> | ||
<Compile Include="Compressors\GZipCompressor.cs" /> | ||
<Compile Include="HttpContentOperations.cs" /> | ||
<Compile Include="Interfaces\ICompressor.cs" /> | ||
<Compile Include="Models\CompressedContent.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="System.Net.Http"> | ||
<HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.5\System.Net.Http.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
5 changes: 2 additions & 3 deletions
5
...lers.Compression/HttpContentOperations.cs → src/Core/HttpContentOperations.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ers.Compression/Interfaces/ICompressor.cs → src/Core/Interfaces/ICompressor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...s.Compression/Models/CompressedContent.cs → src/Core/Models/CompressedContent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System.Resources; | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("Core")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("Core")] | ||
[assembly: AssemblyCopyright("Copyright © 2016")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: NeutralResourcesLanguage("en")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Oops, something went wrong.