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

getHeaders: copy of unecessary headers #13

Open
themihai opened this issue May 23, 2016 · 1 comment
Open

getHeaders: copy of unecessary headers #13

themihai opened this issue May 23, 2016 · 1 comment

Comments

@themihai
Copy link

Is seems getHeaders copies headers that are not used. Is there any reason for that?

        "REQUEST_METHOD":   r.Method,
        "HOST":             r.Host,
        "X_REAL_IP":        r.Header.Get("X_REAL_IP"),
        "X_FORWARDED_FOR":  r.Header.Get("X_FORWARDED_FOR"),

@Shaked
Copy link
Owner

Shaked commented May 24, 2016

Probably legacy. Feel free to fork & pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants