On Sat, 16 Apr 2005, Stef Caunter wrote:

Offhand I don't know, I'm posting it to the list to see if it's obvious to
anyone.

One would have to modify the source code. I see a couple of places where that string is used, e.g., in GridText.c

        if (SemiColon == TRUE) {
            StrAllocCopy(content_type_out,
                         "application/sgml-form-urlencoded");
        } else if (PlainText == TRUE) {
            StrAllocCopy(content_type_out,
                         "text/plain");
        } else if (Boundary != NULL) {
            StrAllocCopy(content_type_out,
                         "multipart/form-data");
        } else {
            StrAllocCopy(content_type_out,
                         "application/x-www-form-urlencoded");
        }

and in LYMainLoop.c

    if (form_post_data) {
        BStrCopy0(newdoc.post_data, form_post_data);
        StrAllocCopy(newdoc.post_content_type,
                     "application/x-www-form-urlencoded");
    } else if (form_get_data) {
        StrAllocCat(newdoc.address, form_get_data);
    }

On Sat, 16 Apr 2005, Richard Sexton wrote:

How do I coerece lynx to say  "text/xml" instead of
"application/x-www-form-urlencoded" in the http
headers (when doing -post-method ssl connection) ?


The docs don't actually say you can do this, rather they sort of imply it. Or maybe I'm missing someting, but it's sure not obvious to me.

Cheers,




-- Richard J. Sexton, [EMAIL PROTECTED] /"\ ASCII ribbon / [EMAIL PROTECTED] [EMAIL PROTECTED] \ / campaign against / http://open-rsc.org http://cr.yp.to/dnsroot.html X HTML mail / http://watches.mbz.org http://mbz.org '67 250SE/C / \ and postings / 613 473 1719 83 633 83 300SD 72 280SE 70 280SE






_______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev


-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net


_______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to