Added post and postFile mock responses.
Get file MIME type and upload information.
Added post and postFile mock tests.