Hi

This issue has been fixed in master some time ago. We will be releasing a new version today that include only this fix.

On Mon, Nov 1, 2010 at 3:26 PM, nick langridge <nicklangridge@hotmail.com> wrote:
Franck, yes all my versions are the latest:

Dancer 1.1901
Starman 0.2007
Plack 0.9951

Deepak, yes it looks like CSS served as text/plain - header info:

Content-Type: text/plain
Transfer-Encoding: chunked
Date: Mon, 01 Nov 2010 14:23:23 GMT
Connection: keep-alive
200 OK
Maybe this is the issue?


Date: Mon, 1 Nov 2010 15:13:32 +0100
Subject: Re: [Dancer-users] Stylesheet sometimes missing when using Dancer with Starman
From: franck@lumberjaph.net
To: nicklangridge@hotmail.com

Hi Nick

we  had a similar issue with Dancer + Starman some time ago that was fixed in one of our latest version. Are you using the last version from CPAN ?

On Mon, Nov 1, 2010 at 3:10 PM, nick langridge <nicklangridge@hotmail.com> wrote:
Hi,

I'm trying to run my Dancer app using Starman, eg:

$  plackup -s Starman ./App.pl
2010/11/01-17:03:19 Starman::Server (type Net::Server::PreFork) starting! pid(5175)
Binding to TCP port 5000 on host *
Setting gid to "1002 1002 27 1002"
Starman: Accepting connections at http://*:5000/

When I browse my app, most of the time the page renders without the CSS file. Occasionally it works correctly. If I browse directly to the css file (/css/style.css), it seems to be served ok.

If I use Plack without Starman it all works fine.

Any ideas whats happening?

Cheers,
Nick


_______________________________________________
Dancer-users mailing list
Dancer-users@perldancer.org
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users



_______________________________________________
Dancer-users mailing list
Dancer-users@perldancer.org
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users