I tried the mime thing but it did not help.  I didn't think it was that because 
I can get the mp3 served OK hitting the URL in a browser.

I just noticed that I am getting an error in Mongrel when WinAmp make the 
request for the mp3 file:

BAD CLIENT (127.0.0.1): Invalid HTTP format, parsing fails.

I don't think Mongrel has a problem with the URL itself because if a browser 
requests the same URL it succeeds:

"GET /playlist/play_track/0%3A720913 HTTP/1.1"

Any thoughts on this?

Regards

> On 12/14/06, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>> Mongrel 0.3.13.3
>> Windows XP
>> Rails 1.1.6
>>
>> I have a rails app that serves up mp3 files via the send_file command.  We 
>> create a playlist (M3U) with URLs to the mp3s.  These play just fine using 
>> Windows Media Player.  However using WinAmp we get an error "error syncing 
>> to stream" when it tries to request the mp3.
>>
>> After playing around I found that if I am running Rails under Webrick WinAmp 
>> is able to retrieve the mp3s just fine.
>>
>> Does anyone have any idea what the problem is when using Mongrel?
>>

> Maybe I'll sound too stupid, but default mime types in WEBrick cover .mp3 
> files.

> Maybe you aren't using a mime.yml file with mongrel?



_______________________________________________________
The FREE service that prevents junk email http://www.mailshell.com
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to