download ( url -- )
HTTP client > GET requests with the HTTP client

Prev:http-get* ( url -- response data )
Next:download-to ( url file -- )


Vocabulary
http.client

Inputs and outputs
urlan url or a string


Word description
Downloads the contents of the URL to a file in the current-directory having the same file name.

Errors
Throws an error if the HTTP request fails.

Definition