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
61b4e75d
Commit
61b4e75d
authored
Jun 28, 2017
by
Honfika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for fix for #289:)
parent
d05aa8c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
HttpWebClient.cs
Titanium.Web.Proxy/Http/HttpWebClient.cs
+1
-1
RequestHandler.cs
Titanium.Web.Proxy/RequestHandler.cs
+1
-0
No files found.
Titanium.Web.Proxy/Http/HttpWebClient.cs
View file @
61b4e75d
...
@@ -80,7 +80,7 @@ namespace Titanium.Web.Proxy.Http
...
@@ -80,7 +80,7 @@ namespace Titanium.Web.Proxy.Http
var
requestLines
=
new
StringBuilder
();
var
requestLines
=
new
StringBuilder
();
//prepare the request & headers
//prepare the request & headers
requestLines
.
AppendLine
(
$"
{
Request
.
Method
}
{
Request
.
OriginalRequestUrl
}
HTTP/
{
Request
.
HttpVersion
.
Major
}
.
{
Request
.
HttpVersion
.
Minor
}
"
);
requestLines
.
AppendLine
(
$"
{
Request
.
Method
}
{
Request
.
RequestUri
.
PathAndQuery
}
HTTP/
{
Request
.
HttpVersion
.
Major
}
.
{
Request
.
HttpVersion
.
Minor
}
"
);
//Send Authentication to Upstream proxy if needed
//Send Authentication to Upstream proxy if needed
...
...
Titanium.Web.Proxy/RequestHandler.cs
View file @
61b4e75d
...
@@ -320,6 +320,7 @@ namespace Titanium.Web.Proxy
...
@@ -320,6 +320,7 @@ namespace Titanium.Web.Proxy
}
}
PrepareRequestHeaders
(
args
.
WebSession
.
Request
.
RequestHeaders
);
PrepareRequestHeaders
(
args
.
WebSession
.
Request
.
RequestHeaders
);
args
.
WebSession
.
Request
.
Host
=
args
.
WebSession
.
Request
.
RequestUri
.
Authority
;
#if NET45
#if NET45
//if win auth is enabled
//if win auth is enabled
...
...
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