Added maxContentLength to limit uploaded files' length
Refactored request content