Handbook
Glossary
<request> ( -- request )
HTTP protocol objects
ยป
HTTP requests
Prev:
request
Next:
HTTP post data
Vocabulary
http
Inputs
None
Outputs
request
a
request
Word description
Creates an empty request containing default headers.
Definition
USING:
accessors
kernel
urls
;
IN:
http
:
<request>
( -- request )
request
new
"1.1"
>>version
<url>
H{
}
clone
>>query
>>url
<url>
>>proxy-url
H{
}
clone
>>header
V{
}
clone
>>cookies
"close"
"Connection"
set-header
"Factor http.client"
"User-Agent"
set-header
max-redirects
>>redirects
;