gomobiledetect
gomobiledetect copied to clipboard
getHeaders: copy of unecessary headers
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"),
Probably legacy. Feel free to fork & pull request