yahoojapan / authorization-proxy

Moved to https://github.com/AthenZ/authorization-proxy
https://github.com/AthenZ/authorization-proxy
Apache License 2.0
35 stars 9 forks source link

[minor] Set header #66

Closed ssunorz closed 4 years ago

ssunorz commented 4 years ago

Description

I used this as a reference. https://github.com/golang/oauth2/blob/master/transport.go

Type of change

Flags

Related issue/PR

Delete if not applicable


Checklist

Checklist for maintainer

codecov-commenter commented 4 years ago

Codecov Report

Merging #66 into master will decrease coverage by 0.86%. The diff coverage is 75.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage   87.66%   86.80%   -0.87%     
==========================================
  Files          14       15       +1     
  Lines         689      735      +46     
==========================================
+ Hits          604      638      +34     
- Misses         75       87      +12     
  Partials       10       10              
Impacted Files Coverage Δ
service/authorizerd_mock.go 0.00% <0.00%> (ø)
handler/principal_mock.go 100.00% <100.00%> (ø)
handler/transport.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a6694f7...93d1112. Read the comment docs.