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 a text/vnd.wap.wml document, but the WAP minibrowser I'm using interprets it as a normal HTML file. I guess the Content-type header is sent first by the server 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:

    
  1. Re: Content-type:... (Nico 2000)
  2. Re: Content-type:... (Nico 2000)
  3. Content-type:... (Nico 2000)
  4. Re: Content-type:... (dale@gmr.dresdner.net 2000)
  5. Re: Content-type:... (Michael O Shea 2000)
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 a text/vnd.wap.wml document, but the WAP minibrowser I'm using interprets it as a normal HTML file. I guess the Content-type header is sent first by the server 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:

More Applescript (1997) [WebDNA] Non-numbers entered into a field that asks for a (2008) ... debugger ? (2000) Date search - yes or no (1997) HELP WITH DATES (1997) PSC recommends what date format yr 2000??? (1997) send mail problem? (1997) WebCatalog can't find database (1997) Cart Creation (1998) [WebDNA] Advanced search 'rq' problem (2013) Virtual hosting and webcatNT (1997) WebCat2b13MacPlugIn - [include] (1997) [WebDNA] Searching for multiple bits of data in one field or use multiple fields for each bit of data? (2016) Bad Cookie / Internet Option / Internet Explorer (2004) Was: [WebDNA] Wishlist: ignore whitespace in database changes - Now: WebDNA Data Model (2016) Force a search at the default.tmpl page? (1997) no template caching (1997) Deleting Orders (1997) [WebDNA] listfiles weirdness? (2018) WebCat2b12 - New features for 1.6 users ... (1997)