From fbogdanovic at xnet.hr Fri Dec 3 16:38:01 2010 From: fbogdanovic at xnet.hr (Haris Bogdanovic) Date: Fri, 3 Dec 2010 17:38:01 +0100 Subject: [hunchentoot-devel] get url parameters Message-ID: <64E88F86CB7E4241AD660294B7F0376A@komp> Hi. How to get url parameters after submiting a html form ? Thanks From hans.huebner at gmail.com Fri Dec 3 17:00:48 2010 From: hans.huebner at gmail.com (=?ISO-8859-1?Q?Hans_H=FCbner?=) Date: Fri, 3 Dec 2010 18:00:48 +0100 Subject: [hunchentoot-devel] get url parameters In-Reply-To: <64E88F86CB7E4241AD660294B7F0376A@komp> References: <64E88F86CB7E4241AD660294B7F0376A@komp> Message-ID: How to get url parameters from Hunchentoot web page after submiting a form ? prljavi_hari: hunchentoot:parameter? [17:43] prljavi_hari: HUNCHENTOOT:PARAMETER is one way prljavi_hari: check the docs prljavi_hari: http://weitz.de/hunchentoot/ has good info. prljavi_hari: have a look at the hunchentoot-test server. prljavi_hari: it is included with the distribution and shows many features and how they are used. On Fri, Dec 3, 2010 at 5:38 PM, Haris Bogdanovic wrote: > Hi. > > How to get url parameters after submiting a html form ? > > Thanks > > _______________________________________________ > tbnl-devel site list > tbnl-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/tbnl-devel > From tomek.lipski at gmail.com Fri Dec 3 17:01:12 2010 From: tomek.lipski at gmail.com (Tomasz Lipski) Date: Fri, 3 Dec 2010 18:01:12 +0100 Subject: [hunchentoot-devel] get url parameters In-Reply-To: <64E88F86CB7E4241AD660294B7F0376A@komp> References: <64E88F86CB7E4241AD660294B7F0376A@komp> Message-ID: On 3 December 2010 17:38, Haris Bogdanovic wrote: > Hi. > > How to get url parameters after submiting a html form ? Haris, Please consult Hunchentoot's documentation, especially: http://weitz.de/hunchentoot/#requests Best regards, Tomek Lipski From dlw at itasoftware.com Fri Dec 3 23:00:19 2010 From: dlw at itasoftware.com (Daniel Weinreb) Date: Fri, 03 Dec 2010 18:00:19 -0500 Subject: [hunchentoot-devel] Soft shutdown Message-ID: <4CF97683.5060503@itasoftware.com> Hi. It would be extremely helpful to us if Hunchentoot had what we call a "soft shutdown". This would be like shutdown, except that any request currently in progress would continue until its reply is sent back to the client. We want to have a comment for our own server that will do this. We do not need for Hunchentoot to worry about cases where the request handler turns out to take forever or a very long time. We are happy to say that in such cases, we will take care of it exogenously. In our case, we'd set up a timeout and "kill -9" the Lisp in this case. I have implemented a kludgey implementation of this for the time being. It only works for the single-threaded mode, since that's all I need, and I wanted to keep the changes as simple as possible. I have attached the patch. Thank you. -- Dan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hdiff URL: From neuss at kit.edu Wed Dec 15 11:07:50 2010 From: neuss at kit.edu (Nicolas Neuss) Date: Wed, 15 Dec 2010 12:07:50 +0100 Subject: [hunchentoot-devel] Different accessors in define-easy-handler Message-ID: <87mxo7gupl.fsf@ma-patru.mathematik.uni-karlsruhe.de> Hello, since some time I use a patch for DEFINE-EASY-HANDLER which makes it work correctly with multiple accessors (I hope). Here it is. (I am not quite sure if it has not been corrected yet. The patch is against Hunchentoot-1.1.1 from Quicklisp.) Thanks, Nicolas --- easy-handlers.lisp~ 2010-11-30 10:34:27.000000000 +0100 +++ easy-handlers.lisp 2010-11-30 10:46:39.000000000 +0100 @@ -288,8 +288,11 @@ `(progn (setq *easy-handler-alist* (delete-if (lambda (list) - (or (equal ,uri (first list)) - (eq ',name (third list)))) + (and (or (equal ,uri (first list)) + (eq ',name (third list))) + (or (eq ,acceptor-names t) + (intersection ,acceptor-names + (second list))))) *easy-handler-alist*)) (push (list ,uri ,acceptor-names ',name) *easy-handler-alist*))))) (defun ,name (&key ,@(loop for part in lambda-list From sohail at taggedtype.net Fri Dec 24 17:57:08 2010 From: sohail at taggedtype.net (Sohail Somani) Date: Fri, 24 Dec 2010 12:57:08 -0500 Subject: [hunchentoot-devel] Fix for ECL Message-ID: Hi there, In specials.lisp, ECL seems to require *supports-threads-p* to be set as follows: (eval-when (:compile-toplevel :load-toplevel :execute) (define-symbol-macro *supports-threads-p* #+:lispworks t #-:lispworks bt:*supports-threads-p*)) Apparently the symbol macro is not available when compiling the file. Otherwise compiling the file twice works when loading. From mail at chaitanyagupta.com Fri Dec 31 12:59:58 2010 From: mail at chaitanyagupta.com (Chaitanya Gupta) Date: Fri, 31 Dec 2010 18:29:58 +0530 Subject: [hunchentoot-devel] [Patch] Allow user to not send a Content-Type header Message-ID: <4D1DD3CE.5000205@chaitanyagupta.com> Hi, Right now, hunchentoot doesn't allow one to set a NULL Content-Type header -- so it is always sent to the client. With this patch, the user can (setf (content-type*) nil) And no Content-Type header will be sent in that case. Chaitanya -- http://chaitanyagupta.com/blog/ -------------- next part -------------- A non-text attachment was scrubbed... Name: hunchentoot.diff Type: text/x-diff Size: 451 bytes Desc: not available URL: