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
97ab680b
Unverified
Commit
97ab680b
authored
Mar 16, 2020
by
Igor [hyperxor]
Committed by
GitHub
Mar 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue #681 and small improvement (#736)
parent
96ee08ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/common/http_header.cc
src/common/http_header.cc
+0
-4
No files found.
src/common/http_header.cc
View file @
97ab680b
...
...
@@ -146,7 +146,6 @@ void CacheControl::parseRaw(const char *str, size_t len) {
}
directives_
.
push_back
(
CacheDirective
(
d
.
repr
,
std
::
chrono
::
seconds
(
secs
)));
found
=
true
;
break
;
}
}
...
...
@@ -406,10 +405,7 @@ void Authorization::setBasicUserPassword(const std::string &User,
}
void
Authorization
::
parse
(
const
std
::
string
&
data
)
{
try
{
value_
=
data
;
}
catch
(
const
std
::
invalid_argument
&
e
)
{
}
}
void
Authorization
::
write
(
std
::
ostream
&
os
)
const
{
os
<<
value_
;
}
...
...
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