On Tue, Mar 1, 2011 at 12:20 PM, Raul Miller <rauldmil...@gmail.com> wrote: > Meanwhile, I have noticed that the form requests sent by J to jhs are > missing a header. They should have 'Content-Type: > x-www-form-urlencoded'. Without that, Microsoft's Fiddler refuses to > display the form name/value pairs. My reading of > http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1 is that > this is the default content type, so I think this is a fiddler bug > rather than a jhs bug, and I will try and get it fixed in Fiddler, but
Looking at this closer, this is a J bug. The request had: Content-Type: application/xml which is probably the default for xmlhttprequest. And in the general case, the information that this message corresponds to a form gets lost once the request leaves the browser. I think the fix would be (in function jdoajax): rq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded') -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm