From: Zed Shaw Date: 2006-02-16T22:14:29+09:00 Subject: Re: Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper Let me try with an AWS setup. It might be that the way CGI tries to set the content-type is conflicting with how I've interpreted it. And that's an empty content type right? Zed A. Shaw http://www.zedshaw.com/ On 2/16/06 5:18 AM, "_blackdog" wrote: > hi Zed > > thanks for the new version! > > i'm using rails webservices from within a controller, specifically I'm > doing this to get a remote object > > def remote(user) > account_server = > "http://localhost:#{$site_spec["account_server"]}/user/api/RPC" > ActionWebService::Client::XmlRpc.new(UserApi, account_server) > end > > where the "account_server" port is actually an ssh tunnel so it is > remote. > > anyway works when account_server URL is a webrick hosted server. With > mongrel I get the correct request/response in terms of the xmlrpc > payload, but I get the following error displayed on the client (i.e. in > this case the rails controller) > > Wrong content-type: > > now, this is with 0.34 and it does not use the proxy as in my last > post. > i think this error is an improvement over 0.33 too, because in that > case I was getting "wrong size" errors or something like that, with a > print out of the given and expected bytes. > > thanks for any help > > BD > >