Merge pull request #1 from ianweller/master

Fix typo which caused hang on valid PUT requests