I need to set the MIME Type of a DTML Method to "application/x-java- jnlp-file" but it doesn't work. According to www.zope.org/Members/anser/howto_dtml_mimetype I set the MIME Type in my DTML method (SimpleExample.jnlp) as follows: Content-type: application/x-java-jnlp-file , but the return of the server is: wrong mime type: text/html As anybody an idea? Thanks for any help!! Chris
On Tue, 2002-06-04 at 19:19, chpeer2002 wrote:
I need to set the MIME Type of a DTML Method to "application/x-java- jnlp-file" but it doesn't work.
According to www.zope.org/Members/anser/howto_dtml_mimetype I set the MIME Type in my DTML method (SimpleExample.jnlp) as follows:
Content-type: application/x-java-jnlp-file
, but the return of the server is: wrong mime type: text/html
As anybody an idea?
have you inserted a blank line after your content-type-line? Content-type: application/x-java-jnlp-file <= THIS BLANK LINE IS VERY, VERY IMPORTANT!!! ...your stuff starts here after a blank line... greetings, maik -- maik jablonski \ -;~~;- / www.dzug.org universitaet bielefeld > (@@) < www.zfl.uni-bielefeld.de zentrum fuer lehrerbildung / RUN <> GNU \ www.sachunterricht-online.de
participants (2)
-
chpeer2002 -
Maik Jablonski