examples/Common/Auth/__init__.py | raw changeset files shortlog |
1.1 --- a/examples/Common/Auth/__init__.py Sun Feb 15 16:05:43 2004 +0000 1.2 +++ b/examples/Common/Auth/__init__.py Sun Feb 15 16:16:21 2004 +0000 1.3 @@ -12,7 +12,7 @@ 1.4 user = trans.get_user() 1.5 if user is None: 1.6 trans.set_response_code(401) 1.7 - trans.set_header("WWW-Authenticate", 'Basic realm="AuthResource"') 1.8 + trans.set_header_value("WWW-Authenticate", 'Basic realm="AuthResource"') 1.9 return 1.10 1.11 trans.set_content_type(WebStack.Generic.ContentType("text/html"))