On Mon, Feb 2, 2009 at 3:47 PM, Paul McConnon <[email protected]> wrote:

> Anyone any idea what would cause this? As far as I know it's not OSX itself.
> Is shoes doing something special with the URL when it passes the request to
> the OS to browse to the url? Or am I missing something?

Shoes uses the Ruby URI method to parse the URL into scheme, host,
port & path. Then it glues those components back together and passes
them to the OS X nsurl methods.

I noticed also that this resulted in some strange behavior -- it was
explicitly adding :80 to all of my requests, and I ran into a web
server that didn't handle that properly. I created a patch that passes
the unaltered string to nsurl instead of disassembling and
reassembling with Ruby URI. It might also fix your problem:

http://github.com/ender672/shoes/commit/63db583501b5b33d5757c2ad2dbe8e5181300877

I think this patch will make it into the main branch around March, if
_why agrees with it.

Cheers,
Tim

Reply via email to