Skip to content

Commit

Permalink
No longer using request as iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Pyżalski committed Mar 6, 2014
1 parent 4030472 commit 3b67e69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyramid_cas/services.py
Expand Up @@ -16,7 +16,7 @@ def getServiceUrl(self,request):
"""
Returns current application's url
"""
if 'HTTP_X_FORWARDED_HOST' in request:
if 'HTTP_X_FORWARDED_HOST' in request.headers:
# TODO get the http from the request
applicationUrl = 'http://' + request['HTTP_X_FORWARDED_HOST']
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -16,7 +16,7 @@
]

setup(name='pyramid_cas',
version='0.1 alpha',
version='0.2 alpha',
description='pyramid_cas',
long_description=README + '\n\n' + CHANGES,
classifiers=[
Expand Down

0 comments on commit 3b67e69

Please sign in to comment.