adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

(improve) pass uid in header to backend services #59

Closed vsudilov closed 9 years ago

vsudilov commented 9 years ago

a perhaps better approach would be to modify the headers in oauth.common.Request in an @oauth.after_request function, assuming those modifications would propagate to flask.request

This is superior than putting the logic into ProxyView.dispatcher() as it would expose that information to any app/service, not just the ones that use ProxyView