Hi,

I have an application where I have a view called "Feeds" as this:

@view_config(route_name='feeds', renderer='templates/feeds/list_feeds.html')
def feeds_view(request):

    print "**************"
    for key in request.headers.keys():
        print key
    print "**************"


    commonCSS.need()
    commonJS.need()
    siteScript.need()
    dataTables.need()
    login = authenticated_userid(request)
    user = USERS.get(login)
    if (user == None):
        return HTTPFound(location=request.route_url('login'))
    else:
        return {'activeUser': user,'publicFeeds':loadPublicFeeds(user.login
),'privateFeeds':loadPrivateFeeds(user.login)}



In a different view I use HTTPFound to as redirect to "feeds" but I am 
passing an extra value in the headers:

headers = {"Authorization": "864a2de6-074a-4fd7-a24e-48400183869e"}
return HTTPFound(location=request.route_url('feeds'),headers=headers)



However the "feeds" view does not seem to get it. What am I doing wrong?




-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to