koajs / cors

Cross-Origin Resource Sharing(CORS) for koa
Other
732 stars 80 forks source link

add vary header #26

Closed iyuq closed 8 years ago

iyuq commented 8 years ago

append vary header Access-Allow-Origin when Access-Allow-Origin is not *.

codecov-io commented 8 years ago

Current coverage is 100% (diff: 100%)

Merging #26 into v2.x will not change coverage

@@           v2.x   #26   diff @@
=================================
  Files         1     1          
  Lines        53    57     +4   
  Methods       3     3          
  Messages      0     0          
  Branches     19    21     +2   
=================================
+ Hits         53    57     +4   
  Misses        0     0          
  Partials      0     0          

Powered by Codecov. Last update cd8fe6d...9a71afc

fengmk2 commented 8 years ago

Any document for the detail why we need to add this vary header?

iyuq commented 8 years ago

I made a mistake and will open another pull request.