- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Wed, 2 Dec 2009 16:25:18 +0100
- To: Stefanie Haupt <st.haupt@gmail.com>
- Cc: xproc-dev@w3.org
2009/12/2 Stefanie Haupt wrote:
Hi,
> <c:result>
> <html>
> <head>
> <meta name="generator"
> content="HTML Tidy for Linux/x86 (vers 7 December 2008),
>see www.w3.org"/>
> <title/>
> </head>
> <body>
>PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgU3RyaWN0Ly9FTiIK
>ICAgICAgICJodHRwOi8vd3d3LnczLm9yZy9UUi9odG1sNC9zdHJpY3QuZHRkIj4KPGh0bWw
>+Cjxo
When you use HTTP, the server sends back the type of the
result, in the HTTP header Content-Type. But when using the
file: scheme, there no such thing. So you have to use the
c:request/@override-content-type to set explicitely the type of
the file:
<c:request ... override-content-type="text/html">
...
Regards,
--
Florent Georges
http://www.fgeorges.org/
Received on Wednesday, 2 December 2009 15:25:49 UTC