Re: [WebDNA] ReturnRAW problem with Safari

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112375
interpreted = N
texte = --Apple-Mail=_D91C968B-CC91-4B9C-98B9-9EDDB04F8A7D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Tom I just had a look at your example, are you doing a redirect back to the = original page ? Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 30 Jul 2015, at 19:45, Stuart Tremain wrote: >=20 > Thanks Tom. >=20 > I didn=E2=80=99t want to have to do it that way, may have to do some = redirection back or something. >=20 > Would you consider this a bug ? >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 30 Jul 2015, at 19:39, Tom Duke > wrote: >>=20 >> Stuart, >>=20 >> Hi - the WebDNA page is being served out as text/html - the = 'Content-Type' setting within the '[returnraw]' is not being set. I = have this issue as well using WebDNA 6.2 on CentOS5. >>=20 >> So ... >>=20 >> You need to set up two pages, one that lists the files (index.html) = and one that contains the '[returnraw]' code and serves out the files = (download.html). Then add a .htaccess file with: >>=20 >> >> AddType application/octet-stream html >> >>=20 >> This sets the correct mime-type for the download page and the = download should work as expected in all browsers: >>=20 >> http://www.revolutionaries.ie/testspace/returnraw/ = >>=20 >> Take care >> - Tom >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Digital Revolutionaries >> 1st Floor, Castleriver House >> 14-15 Parliament Street >> Temple Bar,Dublin 2 >> Ireland >> ---------------------------------------------- >> [t]: + 353 1 4403907 >> [e]: > >> [w]: > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >> On 30 July 2015 at 03:25, Stuart Tremain > wrote: >> Hi >>=20 >> I am not sure if ReturnRaw gets much use but I have been = experimenting with it lately and have encountered a big problem with = Safari on Mac. >>=20 >> http://www.webdna.us/page.dna?numero=3D257 = >>=20 >> Using the BinaryBody option and example at the bottom of the page I = can get this to work properly in Chrome & Firefox but in Safari the file = always downloads with a .html extension. >>=20 >> I have spent hours with server (Apache2 on Ubuntu 12.04) & .htaccess = configs but can not get it to go away !! >>=20 >> Does anyone have any insights with this ? >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_D91C968B-CC91-4B9C-98B9-9EDDB04F8A7D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Tom

I = just had a look at your example, are you doing a redirect back to the = original page ?


Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 30 Jul 2015, at 19:45, Stuart Tremain <webdna@idfk.com.au> = wrote:

Thanks = Tom.

I didn=E2=80=99t = want to have to do it that way, may have to do some redirection back or = something.

Would= you consider this a bug ?


Kind regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA





On 30 Jul 2015, at 19:39, Tom Duke <tom@revolutionaries.ie> wrote:

Stuart,

Hi = - the WebDNA page is being served out as text/html - the 'Content-Type' = setting within the '[returnraw]' is not being set.  I have this = issue as well using WebDNA 6.2 on CentOS5.

So ...

You need to set up two pages, one that = lists the files (index.html) and one that contains the '[returnraw]' = code and serves out the files (download.html).   Then add a = .htaccess file with:

<Files download.html>
= AddType application/octet-stream html
</Files>

This sets the correct mime-type for the = download page and the download should work as expected in all = browsers:


Take care
- Tom








=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
Digital Revolutionaries
1st Floor, = Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

On 30 July 2015 at 03:25, = Stuart Tremain <webdna@idfk.com.au> wrote:
Hi

I am not sure if ReturnRaw gets much = use but I have been experimenting with it lately and have encountered a = big problem with Safari on Mac.


Using the BinaryBody = option and example at the bottom of the page I can get this to work = properly in Chrome & Firefox but in Safari the file always downloads = with a .html extension.

I have spent hours with server (Apache2 on Ubuntu 12.04) = & .htaccess configs but can not get it to go away !!

Does anyone have any = insights with this ?




Kind regards

Stuart Tremain
IDFK = Web Developments
AUSTRALIA





--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us= Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_D91C968B-CC91-4B9C-98B9-9EDDB04F8A7D-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
  2. Re: [WebDNA] ReturnRAW problem with Safari (Tom Duke 2015)
  3. Re: [WebDNA] ReturnRAW problem with Safari (Tom Duke 2015)
  4. Re: [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
  5. Re: [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
  6. Re: [WebDNA] ReturnRAW problem with Safari (Tom Duke 2015)
  7. [WebDNA] ReturnRAW problem with Safari (Stuart Tremain 2015)
--Apple-Mail=_D91C968B-CC91-4B9C-98B9-9EDDB04F8A7D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Tom I just had a look at your example, are you doing a redirect back to the = original page ? Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 30 Jul 2015, at 19:45, Stuart Tremain wrote: >=20 > Thanks Tom. >=20 > I didn=E2=80=99t want to have to do it that way, may have to do some = redirection back or something. >=20 > Would you consider this a bug ? >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 30 Jul 2015, at 19:39, Tom Duke > wrote: >>=20 >> Stuart, >>=20 >> Hi - the WebDNA page is being served out as text/html - the = 'Content-Type' setting within the '[returnraw]' is not being set. I = have this issue as well using WebDNA 6.2 on CentOS5. >>=20 >> So ... >>=20 >> You need to set up two pages, one that lists the files (index.html) = and one that contains the '[returnraw]' code and serves out the files = (download.html). Then add a .htaccess file with: >>=20 >> >> AddType application/octet-stream html >> >>=20 >> This sets the correct mime-type for the download page and the = download should work as expected in all browsers: >>=20 >> http://www.revolutionaries.ie/testspace/returnraw/ = >>=20 >> Take care >> - Tom >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Digital Revolutionaries >> 1st Floor, Castleriver House >> 14-15 Parliament Street >> Temple Bar,Dublin 2 >> Ireland >> ---------------------------------------------- >> [t]: + 353 1 4403907 >> [e]: > >> [w]: > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >> On 30 July 2015 at 03:25, Stuart Tremain > wrote: >> Hi >>=20 >> I am not sure if ReturnRaw gets much use but I have been = experimenting with it lately and have encountered a big problem with = Safari on Mac. >>=20 >> http://www.webdna.us/page.dna?numero=3D257 = >>=20 >> Using the BinaryBody option and example at the bottom of the page I = can get this to work properly in Chrome & Firefox but in Safari the file = always downloads with a .html extension. >>=20 >> I have spent hours with server (Apache2 on Ubuntu 12.04) & .htaccess = configs but can not get it to go away !! >>=20 >> Does anyone have any insights with this ? >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_D91C968B-CC91-4B9C-98B9-9EDDB04F8A7D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Tom

I = just had a look at your example, are you doing a redirect back to the = original page ?


Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 30 Jul 2015, at 19:45, Stuart Tremain <webdna@idfk.com.au> = wrote:

Thanks = Tom.

I didn=E2=80=99t = want to have to do it that way, may have to do some redirection back or = something.

Would= you consider this a bug ?


Kind regards

Stuart Tremain
IDFK Web = Developments
AUSTRALIA





On 30 Jul 2015, at 19:39, Tom Duke <tom@revolutionaries.ie> wrote:

Stuart,

Hi = - the WebDNA page is being served out as text/html - the 'Content-Type' = setting within the '[returnraw]' is not being set.  I have this = issue as well using WebDNA 6.2 on CentOS5.

So ...

You need to set up two pages, one that = lists the files (index.html) and one that contains the '[returnraw]' = code and serves out the files (download.html).   Then add a = .htaccess file with:

<Files download.html>
= AddType application/octet-stream html
</Files>

This sets the correct mime-type for the = download page and the download should work as expected in all = browsers:


Take care
- Tom








=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
Digital Revolutionaries
1st Floor, = Castleriver House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

On 30 July 2015 at 03:25, = Stuart Tremain <webdna@idfk.com.au> wrote:
Hi

I am not sure if ReturnRaw gets much = use but I have been experimenting with it lately and have encountered a = big problem with Safari on Mac.


Using the BinaryBody = option and example at the bottom of the page I can get this to work = properly in Chrome & Firefox but in Safari the file always downloads = with a .html extension.

I have spent hours with server (Apache2 on Ubuntu 12.04) = & .htaccess configs but can not get it to go away !!

Does anyone have any = insights with this ?




Kind regards

Stuart Tremain
IDFK = Web Developments
AUSTRALIA





--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us= Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_D91C968B-CC91-4B9C-98B9-9EDDB04F8A7D-- Stuart Tremain

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:

Explorer oddities (1997) [WebDNA] Pinterest kinda site? (2013) RE: [WebDNA] Installation problems for IIS 6 (2010) [referrer] tag (1997) PROBLEM (1997) Variable Math (1998) notification solutions (1997) Workaround for Emailer doubled bcc messages (1998) I'm new be kind (1997) Slow NT mail. (2000) emailer (1997) Calculating multiple shipping... (1997) CMS - Formatting Content (2004) OT - royalty free images (2002) Sendmail doesn't (was Queertrons?) (1997) text size limitation (1997) Just Testing (1997) WebDNA 6 and OS X Tiger (2005) [append] vs. [appendfile] delta + question? (1997) Bug in Mac webcatalog3_0_5b11 (1999)