[version 0.13.0 ediware**20070914170013] { hunk ./CHANGELOG 1 +Version 0.13.0 +2007-09-14 +Added *METHODS-FOR-POST-PARAMETERS* (suggested by Jonathon McKitrick) + hunk ./doc/index.html 143 -current version is 0.12.0. There's also a port +current version is 0.13.0. There's also a port hunk ./doc/index.html 966 -This value will usually be a string (or NIL if there ain't no POST parameter with this name). If, however, the browser sent a file through a multipart/form-data form, the value of this function is a three-element list +This value will usually be a string (or NIL if there ain't no POST parameter with this name). If, however, the browser sent a file through a multipart/form-data form, the value of this function is a three-element list hunk ./doc/index.html 971 +

+POST parameters will only be computed if the content type of the request body was multipart/form-data +or application/x-www-form-urlencoded. +Although this function is called POST-PARAMETER, you can instruct Hunchentoot to compute these parameters for other request methods by setting *METHODS-FOR-POST-PARAMETERS*. +

hunk ./doc/index.html 986 -href="http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_c.htm#cdr">cdr is its value. The elements of this list are in the same order as they were within the request's body. See also POST-PARAMETER. +href="http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_c.htm#cdr">cdr is its value. The elements of this list are in the same order as they were within the request's body. +

+See also POST-PARAMETER. + + +


[Special variable] +
*methods-for-post-parameters* + +


A list of the request method types (as keywords) for +which Hunchentoot will try to compute "POST" +parameters. The default is the list with the single +element :POST. hunk ./doc/index.html 2401 +
  • *methods-for-post-parameters* hunk ./doc/index.html 2589 -$Header: /usr/local/cvsrep/hunchentoot/doc/index.html,v 1.106 2007/09/13 08:35:17 edi Exp $ +$Header: /usr/local/cvsrep/hunchentoot/doc/index.html,v 1.107 2007/09/14 12:12:35 edi Exp $ hunk ./hunchentoot.asd 2 -;;; $Header: /usr/local/cvsrep/hunchentoot/hunchentoot.asd,v 1.43 2007/09/13 08:35:15 edi Exp $ +;;; $Header: /usr/local/cvsrep/hunchentoot/hunchentoot.asd,v 1.44 2007/09/14 12:12:33 edi Exp $ hunk ./hunchentoot.asd 37 -(defvar *hunchentoot-version* "0.12.1" +(defvar *hunchentoot-version* "0.13.0" hunk ./packages.lisp 2 -;;; $Header: /usr/local/cvsrep/hunchentoot/packages.lisp,v 1.31 2007/05/25 11:32:51 edi Exp $ +;;; $Header: /usr/local/cvsrep/hunchentoot/packages.lisp,v 1.32 2007/09/14 12:12:33 edi Exp $ hunk ./packages.lisp 55 + :*cleanup-function* + :*cleanup-interval* hunk ./packages.lisp 65 - :*cleanup-function* - :*cleanup-interval* hunk ./packages.lisp 77 + :*methods-for-post-parameters* hunk ./request.lisp 2 -;;; $Header: /usr/local/cvsrep/hunchentoot/request.lisp,v 1.32 2007/09/06 23:32:10 edi Exp $ +;;; $Header: /usr/local/cvsrep/hunchentoot/request.lisp,v 1.33 2007/09/14 12:12:33 edi Exp $ hunk ./request.lisp 180 - (when (eq (request-method request) :post) + (when (member (request-method request) *methods-for-post-parameters* :test #'eq) hunk ./specials.lisp 2 -;;; $Header: /usr/local/cvsrep/hunchentoot/specials.lisp,v 1.29 2007/05/25 16:53:01 edi Exp $ +;;; $Header: /usr/local/cvsrep/hunchentoot/specials.lisp,v 1.30 2007/09/14 12:12:33 edi Exp $ hunk ./specials.lisp 180 + +(defvar *methods-for-post-parameters* '(:post) + "A list of the request method types \(as keywords) for which +Hunchentoot will try to compute POST-PARAMETERS.") }