public toHttpRequest(method as String = "GET", headers as Map<String, String> = null, body as Object = null) as HttpRequest throws Exception:
Builds an HTTP request targeting this URL.
Immutable HTTP request.