Quote:
> file=open(fln,"rb")
Makes no difference I tryed it before in the command line and it chugged
out the .wrl file properly...
Like:
Content-type: model/vrml
Pragma: no-cache
#VRML V2.0 utf8
Fog {
color 1.0 1.0 1.0
fogType "EXPONENTIAL"
visibilityRange 20.0
Quote:
}
Background {skyColor 1.0 1.0 1.0 }
(a lot more sniped)
Quote:
> What happens if you *link* to the CGI, and then choose to
> save the link rather than opening it?
The browser saves as a .wrl file and inside is a perfectly good vrml
code wich I can open afterwards with no problem with the VRML browser.
Quote:
> Odds are it is sending something
> strange, like the VRML file header followed by the entire file with no
> newlines
The brownser seams to be able to recognize the file type as VRML so I
expected it should be getting the headers properly as it defaults to
.wrl type file and the code inside is perfectly well formed with the
proper newlines exactly like the original file.
Best regards
Jos Rui
--
========================================================================
College professors are suspect because whenever emotion is in control,
anti-intellectualism prevails. - Gordon W. Allport.
========================================================================
Iam://Jos Rui Faustino de Sousa http://homepage.esoterica.pt/~jrfsousa/
address://rua Carlos A. Pinto de Abreu no 30C, 1o 3040 Coimbra Portugal
========================================================================
Real Programmers do sig blocks in Fortran 95.
========================================================================