Fixed file upload bug
Added request method to Response object