Update response.py

Fix the things Heufy suggested in comments.