views:

135

answers:

0

When I run my little test app in IE, the log output from webrick shows a return code of 200, and indicates it received a post request:

192.168.0.18 - - [03/Nov/2009 16:17:37] "POST /testpost HTTP/1.1" 200 512 0.0010 Quietspeed.example.com - - [03/Nov/2009:16:17:37 EST] "POST /testpost HTTP/1.1" 200 512 - -> /testpost

And the page is updated as expected. All good. But the same html file run from either FF or chrome gives this:

192.168.0.18 - - [03/Nov/2009 16:16:13] "OPTIONS /testpost HTTP/1.1" 404 421 0.0007 Quietspeed.example.com - - [03/Nov/2009:16:16:13 EST] "OPTIONS /testpost HTTP/1.1" 404 421 - -> /testpost

(note the 404 and the "OPTIONS" indication)

And nothing is returned from the server.

Here's the html: http://pastie.org/682384 (put it on pastie because I couldn't figure out how to get it to post here, kept cutting off the code).

Lastly, if I remove the jquery stuff and just do a vanilla html post, it works fine from IE, FF, and Chrome. (But of course I don't want to do a vanilla html post.)

Any insight/suggestions/etc would be appreciated.