tjbush / mochiweb

Automatically exported from code.google.com/p/mochiweb
Other
0 stars 0 forks source link

Mochiweb server doesn't handle bad URL in request #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
r116

Original comment by bob.ippo...@gmail.com on 2 Jan 2010 at 7:29