update "/rest" to "/rest/" to check for infourl

this update to prevent error in getting the infourl if the request host name include "/rest", like "http://reston.example.com"
Merge pull request #18 from esoekianto/master

update "/rest" to "/rest/" to check for infourl