Ok, this is really strange. I changed line 68 (69 after Ricardo`s code 
addition) in *streamer.py* from:
*headers.setdefault('Content-Type', contenttype(static_file))*
to
*headers.setdefault('Content-Type', 'text/css')*

And problem gone! .css file have *text/css *headers, all other files have 
their respective headers. I understand this is a hack, but does this mean 
that problem is with web2py?

But more than that. I reverted *streamer.py *to original default code, 
restarted Apache (many times already) and still problem gone! So now I 
don`t even know is that my *headers.setdefault('Content-Type', 'text/css') 
*line 
that triggered it or what.. And why its persistent if I reverted to default 
*streamer.py *file...

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to