Fix content and response url on file uploads