Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
keycloak-proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
keycloak-proxy
Commits
362f9e3a
Commit
362f9e3a
authored
Feb 29, 2016
by
Rohith
Browse files
Options
Downloads
Patches
Plain Diff
- updating the godeps to work for no-cache response
parent
8b868cea
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Godeps/Godeps.json
+5
-5
5 additions, 5 deletions
Godeps/Godeps.json
Godeps/_workspace/src/github.com/gambol99/go-oidc/http/http.go
+1
-1
1 addition, 1 deletion
...s/_workspace/src/github.com/gambol99/go-oidc/http/http.go
with
6 additions
and
6 deletions
Godeps/Godeps.json
+
5
−
5
View file @
362f9e3a
...
...
@@ -39,23 +39,23 @@
},
{
"ImportPath"
:
"github.com/gambol99/go-oidc/http"
,
"Rev"
:
"
868d837be69522f73b789fe1db4c46f15e1fc05
a"
"Rev"
:
"
1065ae3e00802992e6007decd79278ad714fd94
a"
},
{
"ImportPath"
:
"github.com/gambol99/go-oidc/jose"
,
"Rev"
:
"
868d837be69522f73b789fe1db4c46f15e1fc05
a"
"Rev"
:
"
1065ae3e00802992e6007decd79278ad714fd94
a"
},
{
"ImportPath"
:
"github.com/gambol99/go-oidc/key"
,
"Rev"
:
"
868d837be69522f73b789fe1db4c46f15e1fc05
a"
"Rev"
:
"
1065ae3e00802992e6007decd79278ad714fd94
a"
},
{
"ImportPath"
:
"github.com/gambol99/go-oidc/oauth2"
,
"Rev"
:
"
868d837be69522f73b789fe1db4c46f15e1fc05
a"
"Rev"
:
"
1065ae3e00802992e6007decd79278ad714fd94
a"
},
{
"ImportPath"
:
"github.com/gambol99/go-oidc/oidc"
,
"Rev"
:
"
868d837be69522f73b789fe1db4c46f15e1fc05
a"
"Rev"
:
"
1065ae3e00802992e6007decd79278ad714fd94
a"
},
{
"ImportPath"
:
"github.com/gin-gonic/gin"
,
...
...
This diff is collapsed.
Click to expand it.
Godeps/_workspace/src/github.com/gambol99/go-oidc/http/http.go
+
1
−
1
View file @
362f9e3a
...
...
@@ -118,7 +118,7 @@ func expires(date, expires string) (time.Duration, bool, error) {
// Cacheable checks for cache-control header in the keys response and grabs the expiration
func
Cacheable
(
hdr
http
.
Header
)
(
time
.
Duration
,
bool
,
error
)
{
cacheHeader
:=
hdr
.
Get
(
"Cache-Control"
)
if
cacheHeader
==
""
{
if
cacheHeader
==
""
||
cacheHeader
==
"no-cache"
{
return
time
.
Duration
(
2
)
*
time
.
Hour
,
true
,
nil
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment