Http.Head¶
Name | - | Description | Default | Type |
---|---|---|---|---|
<input> |
{ String } |
|||
<output> |
{ :status Int :headers { String } :body Bytes } Bytes { :status Int :headers { String } :body String } String |
|||
URL |
The url to request to. | "" |
String &String |
|
Headers |
The headers to use for the request. | None |
{ String } &{ String } |
|
Timeout |
How many seconds to wait for the request to complete. | 10 |
Int |
|
Bytes |
If instead of a string the shard should output bytes. | false |
Bool |
|
FullResponse |
If the output should be a table with the full response, including headers and status. | false |
Bool |