update "/rest" to "/rest/" to check for infourl, #5

this update to prevent error in getting the infourl if the request host name include "/rest", like "http://reston.example.com"