http vocabulary
Factor handbook > Vocabulary index


Documentation
HTTP protocol objects

Meta-data
Tags:web, network
Authors:Slava Pestov


Words

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


Ordinary words
WordStack effect
(read-header)( -- alist )
(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 )
check-cookie-string( string -- string' )
check-cookie-value( string -- string )
check-header-string( str -- str )
collect-headers( assoc -- assoc' )
delete-cookie( request/response name -- )
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-header( request/response value key -- 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


Children from resource:basis
VocabularySummary
http.clientHTTP client
http.parsershttp.parsers vocabulary
http.serverHTTP server
http.testhttp.test vocabulary