URL encoding for GET HEAD OPTIONS HTTP methods