I am looking at headers that are coming in, but no IP seems to be there:
HttpRequest(GET,http://127.0.0.1:8080/track/check,List(Accept-Language: uk-UA,
uk, ru, en-US, en, Encoding: gzip, deflate, sdch, User-Agent: Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29
Safari/537.36, Accept: text/html, application/xhtml+xml, application/xml;q=0.9,
*/*;q=0.8, Connection: keep-alive, Host: 127.0.0.1:8080),EmptyEntity,HTTP/1.1)
This is a request I did from browser. Basically I am looking in:
path("check") {
get {
implicit request => {
val a = 5
}
}
} ~
Here request object doesn't have any information about the IP address. Any help is very appreciated. thanks.