Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/jaybaird/tornado
Browse files Browse the repository at this point in the history
  • Loading branch information
finiteloop committed Sep 10, 2009
2 parents e052686 + 2fd2ad6 commit 7270759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tornado/httpserver.py
Expand Up @@ -318,7 +318,7 @@ def __getitem__(self, name):
return dict.__getitem__(self, self._normalize_name(name))

def _normalize_name(self, name):
return intern("-".join([w.capitalize() for w in name.split("-")]))
return "-".join([w.capitalize() for w in name.split("-")])

@classmethod
def parse(cls, headers_string):
Expand Down
2 changes: 1 addition & 1 deletion tornado/wsgi.py
Expand Up @@ -187,4 +187,4 @@ def __getitem__(self, name):
return dict.__getitem__(self, self._normalize_name(name))

def _normalize_name(self, name):
return intern("-".join([w.capitalize() for w in name.split("-")]))
return "-".join([w.capitalize() for w in name.split("-")])

0 comments on commit 7270759

Please sign in to comment.