fukamachi / caveman

Lightweight web application framework for Common Lisp.
http://8arrow.org/caveman/
775 stars 63 forks source link

referer from *request* #103

Open gibsonf1 opened 6 years ago

gibsonf1 commented 6 years ago

In Caveman2, there seems to be no way to retrieve the http referer from the request. Is there a way to do it?

Thanks!

fukamachi commented 6 years ago

HTTP headers, including Referer, is stored in request-headers.

ex) (gethash "referer" (request-headers *request*))

gibsonf1 commented 6 years ago

Thanks!!