http vocabulary
Factor handbook ยป Vocabulary index


Documentation
HTTP protocol objects

Metadata
Tags:web, network
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
cookie tuplename value version comment path domain expires max-age http-only secure priority samesite sameparty hostprefix domainprefix
post-data tupledata params content-type content-encoding
raw-response tupleversion code message body
request tuplemethod url proxy-url version header data cookies redirects
response tupleversion code message header cookies content-type content-charset content-encoding body


Ordinary words
WordStack effect
(unparse-cookie)( cookie -- strings )
<cookie>( value name -- cookie )
<post-data>( content-type -- post-data )
<raw-response>( -- response )
<request>( -- request )
<response>( -- response )
basic-auth( username password -- str )
bearer-auth( token -- string )
check-cookie-string( string -- string' )
check-cookie-value( string -- string )
check-header-string( str -- str )
delete-cookie( request/response name -- )
delete-header( request/response key -- request/response )
get-cookie( request/response name -- cookie/f )
header( request/response key -- value )
header-value>string( value -- string )
max-redirects( -- value )
parse-content-type( content-type -- type encoding )
parse-content-type-attributes( string -- attributes )
parse-cookie( string -- seq )
parse-set-cookie( string -- seq )
process-header( alist -- assoc )
put-cookie( request/response cookie -- request/response )
read-header( -- assoc )
set-basic-auth( request username password -- request )
set-bearer-auth( request token -- request )
set-header( request/response value key -- request/response )
set-headers( request/response assoc -- request/response )
set-proxy-basic-auth( request username password -- request )
unparse-cookie( cookies -- string )
unparse-cookie-value( key value -- )
unparse-set-cookie( cookie -- string )
write-header( assoc -- )


Class predicate words
WordStack effect
cookie?( object -- ? )
post-data?( object -- ? )
raw-response?( object -- ? )
request?( object -- ? )
response?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
http.clientHTTP client
http.download
http.json
http.parsers
http.serverHTTP server
http.test
http.websockets