Http-Response?

(http-response? argument) -> boolean

Checks to see if the argument is a <http-response>. Returns true or false.

>> (define resp (http-get "http://www.ephemeralsecurity.com"))
:: [http-response [vector null 200 "OK" [dict ... ... ... ... ... ... ... ...]
     "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE\n html PUBLIC \">
     -//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/
     xhtml1-strict.dtd\">\n<html\n  xmlns=\"http://www.w3.org/1999/xhtml\"\n
     xml:lang=\"en\"><head>\n<title>Ephemeral Security</title>\n <link\n rel=
     \"stylesheet\"\n href=\"style.css\"\n type=\"text/css\" />

[rest of response omitted for brevity]

     #f [primitive input]]]

>> (http-response? resp)
:: #t