
4 Jun
2007
4 Jun
'07
8:46 p.m.
(defun format-field (name value) (format nil "--~a~aContent-Disposition: form-data; name=\"~a\"~a~a~a~a" *boundary* +crlf+ name +crlf+ +crlf+ value +crlf+))
Any reason you're doing all this instead of just using :FORM-DATA?
I have now tested this and it works like a charm, so I don't need my hacks anymore. Yay! :) I first used the :PARAMETERS keyword without specifying the :FORM-DATA keyword, and that works as well as providing it. Are there any drawbacks of NOT using :FORM-DATA when just sending form fields (i.e. no files)? Note: one of the form fields can be quite large (maybe up to a thousand characters) sometimes. Thanks! /Mathias