Hello,
> Do the RFC's allow POSTing binary data using a content type of anything but
> multipart/form-data? Looking at RFC 2616 at the moment, I see nothing that
> makes the answer clear.
>
As far as I am aware, it is accepted practice to send any type of data in
a POST, as long as it is url-encoded. This is why I would like to re-do
Ns_Set to support arbitrary strings, not C strings (bug #458929).
> If ns_getform sees something that is not multipart/form-data, it collects
> using ns_conn form. It seems that ns_conn form calls
> conn.c/ns_conngetquery which begets ns_querytoset which begets
> Ns_DecodeUrlCharset which looks for a NULL to determine the end of a string.
>
> So it appears that form.tcl/ns_getform (and hence AOLserver) requires
> binary data to be sent as multipart/formdata, but I am curious about the
> RFCs. There appear to be certain applications that post binary data using
> other content types, are those applications broken, or is it AOLserver itself?
>
I would vote that AOLserver is broken.
Adam
[EMAIL PROTECTED]
> Thanks,
>
>
> Jerry
> ========================================================
> Jerry Asher [EMAIL PROTECTED]
> 1678 Shattuck Avenue Suite 161 Tel: (510) 549-2980
> Berkeley, CA 94709 Fax: (877) 311-8688
>