[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Problem with Rails and embedded SVG?

Williams, Chris

12/2/2004 8:49:00 PM



> -----Original Message-----
> From: Florian Gross [mailto:flgr@ccan.de]
> Sent: Thursday, December 02, 2004 2:13 PM
> To: ruby-talk@ruby-lang.org
> Subject: Re: Problem with Rails and embedded SVG?
>
> Williams, Chris wrote:
>
> > Now, I'm running into something weird. When I try to embed the SVG in
> the
> > rhtml using either the embed or object tags the SVG never actually loads
> -
> > there's a nice big box where the chart should be and IE loads the page
> for a
> > very long time.
> >
> > When I open the SVG file itself in IE, it displays fine.
> > When I create a static html page on my HD that contains the exact same
> > contents as the generated .rhtml page, it works fine.
> > When I load the same static page through Apache, it works fine.
>
> This sounds a lot like a Content-Type problem. Can you compare the
> Content-Type that is used when you do this with a static page on Apache
> versus the dynamic one via .rhtml?

How can I easily do this? I'm not sure how to check...

Thanks,
Chris


1 Answer

Florian Gross

12/2/2004 9:49:00 PM

0

Williams, Chris wrote:

> How can I easily [view http headers]? I'm not sure how to check...

http://livehttpheaders.m... if you use Firefox. Or just do a HTTP
request with telnet or dump the HTTP headers with wget -s.