What steps will reproduce the problem?
1. start mochiweb
2. curl "http://127.0.0.1:8000/foo bar"
3. Empty response from server
What is the expected output? What do you see instead?
Excepted output is something like bad request code and maybe some text
message.
I see empty response without any message even in mochiweb console without
any possibility to handle that in mochiweb application.
What version of the product are you using? On what operating system?
Latest svn version on Ubuntu 9.10
Please provide any additional information below.
I think mochiweb as a HTTP web server should handle invalid requests such
as describe by itself, but it would be great if it provided some way to
programmer to write handler for this situation.
Original issue reported on code.google.com by glorybox...@gmail.com on 18 Nov 2009 at 11:26
Original issue reported on code.google.com by
glorybox...@gmail.com
on 18 Nov 2009 at 11:26