Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
322371f1
Unverified
Commit
322371f1
authored
Jan 25, 2020
by
Dennis Jenkins
Committed by
GitHub
Jan 25, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #686 from hyperxor/remove_one_more_friend_relationship_to_fix_todo
Remove one more friend relationship to fix todo
parents
be7c0ae7
ecc1c2d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
include/pistache/http.h
include/pistache/http.h
+0
-2
src/client/client.cc
src/client/client.cc
+1
-1
No files found.
include/pistache/http.h
View file @
322371f1
...
...
@@ -152,8 +152,6 @@ public:
friend
class
Private
::
Parser
<
Http
::
Request
>
;
friend
class
RequestBuilder
;
// @Todo: try to remove the need for friend-ness here
friend
class
Client
;
Request
()
=
default
;
...
...
src/client/client.cc
View file @
322371f1
...
...
@@ -845,7 +845,7 @@ RequestBuilder Client::prepareRequest(const std::string &resource,
Async
::
Promise
<
Response
>
Client
::
doRequest
(
Http
::
Request
request
)
{
// request.headers_.add<Header::Connection>(ConnectionControl::KeepAlive);
request
.
headers
_
.
remove
<
Header
::
UserAgent
>
();
request
.
headers
()
.
remove
<
Header
::
UserAgent
>
();
auto
resourceData
=
request
.
resource
();
auto
resource
=
splitUrl
(
resourceData
);
...
...
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