Implementing PUT method
Adding support for chunked transfer