]> gitweb.factorcode.org Git - factor.git/commitdiff
http.client: fix docs
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 28 Mar 2023 05:21:17 +0000 (00:21 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 28 Mar 2023 05:21:17 +0000 (00:21 -0500)
basis/http/client/client-docs.factor

index 1f4d13b2c101b528bf86fffa355764f81ba390e6..e682d8026838d6e717ef22caf69773b2b5fc9044 100644 (file)
@@ -160,7 +160,7 @@ HELP: read-response-header
 { $description "Initializes the 'header', 'cookies', 'content-type', 'content-charset' and 'content-encoding' field of the response." } ;
 
 HELP: with-http-request
-{ $values { "request" request } { "quot" { $quotation ( chunk -- ) } } { "response" response } }
+{ $values { "request" request } { "quot" { $quotation ( chunk -- ) } } { "response/stream" "a response or a stream" } }
 { $description "A variant of " { $link do-http-request } " that checks that the response was successful." } ;
 
 { http-request http-request* with-http-request } related-words