Date: Fri, 21 Aug 1998 08:54:59 +0200
Reply-To: Sara <sasuser@REGIONE.EMILIA-ROMAGNA.IT>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Sara <sasuser@REGIONE.EMILIA-ROMAGNA.IT>
Subject: Re: Problems with using _webout
Content-Type: text/plain; charset="us-ascii"
The correct syntax is:
Data _null_;
file _webout;
put 'content-type: text/html';
put; /**** YOU NEED THIS NULL PUT ****/
put 'some text';
run;
Hope that was the trouble
Sara.
At 06.16 20/08/98 GMT, MDA <MDA@DMT.SONOFON.DK> wrote:
>Hi All !
>
>We are currently working with SAS/IntrNet and discovered a small problem -
>When using this syntax :
>
>Data _null_;
>
>file _webout;
>
>put 'content-type: text/html';
>put 'some text';
>
>run;
>
>We get the following message from the Webserver :
>
>HTTP 400
>
>400 Bad request
>
>Due to malformed syntax, the request could not be understood by the server.
>The client should not repeat the request without modifications.
>
>The SAS syntax should be OK, I guess, since we have taken it from a SAS
>Inst. example.
>
>Any suggestions is appreciated.
>
>
>Regards.
>
>Mikael D. Aagaard
>Phone : +45 99 36 72 12
>Mobile : +45 40 58 72 12
>Fax : +45 99 36 79 89
>E-mail : mda@dmt.sonofon.dk
>
>"Glider pilots do it higher !"
>
Sara.
|