Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept additional HTTP headers in create calls #114

Merged
merged 1 commit into from Nov 4, 2019

Commits on Sep 20, 2019

  1. Accept additional HTTP headers in create calls

    Similar to what we do for `get` calls:
        77ae9e0
    
    Basically, I'm after this functionality because I want to do some
    testing of the auth ratelimiting of Trip Editor. The idea is that
    gapi-layer passes the X-Forwarded-For header along to TE and TE can use
    it to derive the actual client IP (to use in ratelimiting counts). The
    TE auth endpoint gets hit when we attempt to *create* an oauth token.
    
    I think that some system somewhere along the path is messing with that
    header, though. Having the ability to inject my own X-Forwarded-For
    header may help figure out what's happening.
    jonprindiville committed Sep 20, 2019
    Copy the full SHA
    fa5fe8c View commit details
    Browse the repository at this point in the history