Strange I tried that;

my controller is default.py


if request.function == 'stream':
    auth.settings.allow_basic_login = True

def stream():
     stream = 'http://mystream...'
     return dict(stream=stream)

but when I visit

http://mydomain.com/stream

I get the stream url; I would have thought I would have got a Basic Authentication box.

Perhaps I need to upgrade my version; I am running 1.95.1

On 5/23/11 11:25 AM, Massimo Di Pierro wrote:
if request.function=='stream':
     auth.settings.allow_basic_login = True

Reply via email to