8000 Merge pull request #63 from donalm/master · DavidKorczynski/http-parser@06dff06 · GitHub
[go: up one dir, main page]

Skip to content

Commit 06dff06

Browse files
authored
Merge pull request benoitc#63 from donalm/master
Typofix: _environ/environ
2 parents a1b89a3 + 48351a5 commit 06dff06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_parser/pyparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def _parse_request_line(self, line):
313313
self._version = (int(match.group(1)), int(match.group(2)))
314314

315315
# update environ
316-
if hasattr(self,'environ'):
316+
if hasattr(self,'_environ'):
317317
self._environ.update({
318318
"PATH_INFO": self._path,
319319
"QUERY_STRING": self._query_string,

0 commit comments

Comments
 (0)
0