I've been trying to use the mime package for HTTP form
data (see <http://wiki.tcl.tk/FileUploadWithTclSHttp>).
The http package wants additional HTTP headers as a list,
and the content-type separately.
The mime package doesn't have a getheaders method returning
a list of headers and getbody doesn't work for multipart.
I think buildmessage should be split into those two functions.
It's easy enough to get the content-type from the headers
ourself once we have them.
Logged In: YES
user_id=202636
mime::getheader $token returns a list of header value pairs.
getbody doesn't make sense for a multipart message.
Logged In: YES
user_id=143885
> getbody doesn't make sense for a multipart message.
?? Then how do I combine the mime and http packages
to implement HTTP form data? The http package wants
the body separately. At least that was the case when
I filed this RFE, I admit that haven't looked at the
issue since.