Update method_handler.py

Adding put in method handler so it will return put.