Re: Content-type:...
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30288
interpreted = N
texte = on 11/04/2000 13:18, Michael O Shea at micheal@com4u.ch wrote:>> I would like to use WebCatalog to process and send WML documents to WAP>> devices, and in order to do so, I need to be able to change the mime-type of>> the document to text/vnd.wap.wml. Is there a way to do this directly with>> WebDNA code? If not, could I do it by making WebCatalog process, say, .wtpl>> files and send the correct mime type for those?>> >> - Nico>> > Yes it should be possible. Change the mime settings in your server> and set webcat to process .wtpl files.> This is a MAJOR new feature in WC4 even though its a really simple> thing to do.. Oh well, we will see...I tried using [SetMimeHeader name=Content-type&value=text/vnd.wap.wml].Netscape interprets it like I wanted, and pops up a save-dialog for atext/vnd.wap.wml document, but the WAP minibrowser I'm using interprets itas a normal HTML file. I guess the Content-type header is sent first by theserver as text/html, and by then WebCatalog as text/vnd.wap.wml.Guess I'll have to make a new mapping..- Nico-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
on 11/04/2000 13:18, Michael O Shea at micheal@com4u.ch wrote:>> I would like to use WebCatalog to process and send WML documents to WAP>> devices, and in order to do so, I need to be able to change the mime-type of>> the document to text/vnd.wap.wml. Is there a way to do this directly with>> WebDNA code? If not, could I do it by making WebCatalog process, say, .wtpl>> files and send the correct mime type for those?>> >> - Nico>> > Yes it should be possible. Change the mime settings in your server> and set webcat to process .wtpl files.> This is a MAJOR new feature in WC4 even though its a really simple> thing to do.. Oh well, we will see...I tried using [SetMimeHeader name=Content-type&value=text/vnd.wap.wml].Netscape interprets it like I wanted, and pops up a save-dialog for atext/vnd.wap.wml document, but the WAP minibrowser I'm using interprets itas a normal HTML file. I guess the Content-type header is sent first by theserver as text/html, and by then WebCatalog as text/vnd.wap.wml.Guess I'll have to make a new mapping..- Nico-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Nico
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Grep and Special Characters (2002)
[WebDNA] WebDNA 6.2 ErrorLog.txt (2014)
Multiple edits/replacementsd to db. Possible? (1997)
in conversions.db crashes unix webcat (1999)
AAAH: stupid sendmail (2001)
RE: creating writefile data from a nested search (1997)
Pieces Show Up! Curse You! (2000)
Wanted: Broader string manipulation functions (1997)
More on the email templates (1997)
RequiredFields parameter (1998)
Spelling Checker (2003)
Re:listfiles-looking for slick solution (1997)
Encyption mail (1998)
Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997)
Databases going to sleep (1998)
WebCat b13 CGI -shownext- (1997)
[format 40s]text[/format] doesn't work (1997)
Followup question re: checksum for credit cards? (1997)
security problem (1997)
japanese characters (1997)