Fixed some issues in the URL request header