Abstracting away repeated logic
Dropped request.values usage

The dictionary `request.values` contains both querystring arguments and
POST/PUT body arguments. It's better to be explicit about where those values
should be coming from.
Merge pull request #132 from tooxie/dry

DRY