On 03/07/2011 11:05 AM, pr1001 [via Databinder] wrote:
[...]
Might Dispatch do a sanity check to work around this? Here's the
quick hack I whipped up for my own code:
I'd be afraid the cure would cause even more unexpected behavior. I
think there are a few problems at the root of this.
1. Dispatch doesn't have an explicit way use URL strings, it just
has that implicit conversion from String to Request. I find I almost
never use that conversion.
2. Dispatch doesn't have a lot of useful examples and tutorials. Bad
Dispatch.
3. Maybe Apache's HttpHost should be throwing an exception on
slashes and such. Or maybe not--those guys are pretty hard core
about following relevant specs.
I can probably come up with something nice for 1 if people want it.
https://github.com/n8han/databinder-dispatch/issues
Nathan