Handbook
Glossary
read-request-line ( request -- request )
Vocabulary
http
.
server
.
requests
Inputs
request
an
object
Outputs
request
an
object
Definition
USING:
accessors
io.crlf
kernel
sequences
urls
;
IN:
http.server.requests
:
read-request-line
( request -- request )
read-?crlf
[
dup
""
=
]
[
drop
read-?crlf
]
while
parse-request-line-safe
first3
[
>>method
]
[
>url
dup
check-absolute
>>url
]
[
>>version
]
tri*
;