Create put.py

Adding HTTP PUT method response code to 201(used for new file). I'm not adding HTTP code 204 because it is used for existing files which got modified by PUT.
needs an extra line break before the method definition