From: Chananya Freiman Date: 2010-12-08T04:43:30+09:00 Subject: HTTP POST request --> Ruby server I am making a tiny web server, and I am having problems with HTTP POST requests. I made a button which sends a POST request to my server containing 3 characters (just to test), say "abc", using Javascript (XMLHttpRequest). My server gets all the HTTP headers just fine, even the content length, but when it gets to the actual content, after the finishing \r\n\r\n of the headers, it simply gets stuck. I got the HttpFox add-on for FireFox to see if FF is actually sending everything, and it confirmed that something odd is going around here. If I only read the headers, or even read nothing - FireFox sends everything and I can respond from my server (of course, without knowing the POST data...). If I try to get past the headers - FireFox simply stops sending data, which reflects why my Ruby server doesn't get it. Is this somehow a bug in Ruby? Has anyone encountered something similar and knows how to solve it? Thanks. -- Posted via http://www.ruby-forum.com/.