Header function
David Johnson-Davies <[email protected]> Thu, 13 Jan 2005 12:50:18 +0000
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <BE0C1F0A.CEA2%[email protected]> |
Can anyone help with the following query?
I want to discover when a URL is called with a HEAD method. I've tried
supplying a header-function argument to export-url with the following:
(export-url "/test.html"
:computed
:response-function #'serve-page
:header-function #'(lambda (url) (print "HEAD call") :html)
:public t)
This gives the error:
Error: Arguments don't match lambda list..
Any suggestions welcomed.
David Johnson-Davies
+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.
Tel: +44 1223 314934, Fax: +44 1223 462562
Email: [email protected], Web: http://www.interface.co.uk/
+------------------------------------------------------------+
_______________________________________________
WWW-CL mailing list
[email protected]
http://lists.csail.mit.edu/mailman/listinfo/www-cl