<http-Request>

Type: <http-request>

This type has the following fields:

<http-request <object #f> method headers url version body input output>

This is used as part of a basic web-server for MOSVM. Most examples for this section will be based off the example given for read-http-request, with the following added:

>> (define alpha (read-http-request reqp))
  :: "GET /index.html HTTP/1.1
Host: localhost:80
Accept: */*
"

See Also: http-request-arg, http-request-body, http-request-header, http-request-headers, http-request-method, http-request-port, http-request-url, http-request-version, http-request?, read-http-request, spawn-http-server, write-http-response, http-request-input, http-request-output