You can probably just use `request.uri` instead of this.

http://www.playframework.com/documentation/2.0/api/scala/play/api/mvc/RequestHeader.html#uri:String