Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Titanium-Web-Proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Titanium-Web-Proxy
Commits
9a5bdca3
Commit
9a5bdca3
authored
Oct 05, 2018
by
justcoding121
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add brotli to list of supported compressions
parent
0d5a98d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
ProxyConstants.cs
src/Titanium.Web.Proxy/Shared/ProxyConstants.cs
+4
-2
packages.config
src/Titanium.Web.Proxy/packages.config
+0
-6
No files found.
src/Titanium.Web.Proxy/Shared/ProxyConstants.cs
View file @
9a5bdca3
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Text.RegularExpressions
;
using
System.Text.RegularExpressions
;
using
Titanium.Web.Proxy.Http
;
namespace
Titanium.Web.Proxy.Shared
namespace
Titanium.Web.Proxy.Shared
{
{
...
@@ -25,8 +26,9 @@ namespace Titanium.Web.Proxy.Shared
...
@@ -25,8 +26,9 @@ namespace Titanium.Web.Proxy.Shared
internal
static
readonly
HashSet
<
string
>
ProxySupportedCompressions
=
internal
static
readonly
HashSet
<
string
>
ProxySupportedCompressions
=
new
HashSet
<
string
>(
StringComparer
.
OrdinalIgnoreCase
)
new
HashSet
<
string
>(
StringComparer
.
OrdinalIgnoreCase
)
{
{
"gzip"
,
KnownHeaders
.
ContentEncodingGzip
,
"deflate"
KnownHeaders
.
ContentEncodingDeflate
,
KnownHeaders
.
ContentEncodingBrotli
};
};
internal
static
readonly
Regex
CNRemoverRegex
=
internal
static
readonly
Regex
CNRemoverRegex
=
...
...
src/Titanium.Web.Proxy/packages.config
deleted
100644 → 0
View file @
0d5a98d9
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
packages
>
<
package
id
=
"Portable.BouncyCastle"
version
=
"1.8.2"
targetFramework
=
"net45"
/>
<
package
id
=
"StreamExtended"
version
=
"1.0.179"
targetFramework
=
"net45"
/>
</
packages
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment