Fix bug in http-request in http-client library
parent
24ea7fab8d
commit
9707d90970
|
@ -24,7 +24,7 @@ io strings unparser ;
|
|||
flush readln parse-response read-header ;
|
||||
|
||||
: http-request ( host resource method -- )
|
||||
write CHAR: \s write write " HTTP/1.0" write crlf
|
||||
write " " write write " HTTP/1.0" write crlf
|
||||
"Host: " write write crlf ;
|
||||
|
||||
: get-request ( host resource -- )
|
||||
|
|
Loading…
Reference in New Issue