Permalink
Browse files

- Add ``REMOTE_ADDR`` to the ``prequest`` WSGI environ dict for benef…

…it of

  the debug toolbar, which effectively requires it to be present to work
  properly.
  • Loading branch information...
mcdonc committed Mar 22, 2012
1 parent eb33944 commit a39dd2ff1992f81e98a4d3307aee53fbc7a405cf
Showing with 11 additions and 0 deletions.
  1. +10 −0 CHANGES.txt
  2. +1 −0 pyramid/scripts/prequest.py
View
@@ -1,3 +1,13 @@
+Next release
+============
+
+Bug Fixes
+---------
+
+- Add ``REMOTE_ADDR`` to the ``prequest`` WSGI environ dict for benefit of
+ the debug toolbar, which effectively requires it to be present to work
+ properly.
+
1.3 (2012-03-21)
================
@@ -112,6 +112,7 @@ def run(self):
'SERVER_PORT': '80', # always mandatory
'SERVER_PROTOCOL': 'HTTP/1.0',
'CONTENT_TYPE': 'text/plain',
+ 'REMOTE_ADDR':'127.0.0.1',
'wsgi.run_once': True,
'wsgi.multithread': False,
'wsgi.multiprocess': False,

0 comments on commit a39dd2f

Please sign in to comment.