change class to struct.

Signed-off-by: Jack <jack.wgm@gmail.com>
fix missing request_opts.

Signed-off-by: Jack <jack.wgm@gmail.com>
remove m_request_opts on class file_upload.

Signed-off-by: Jack <jack.wgm@gmail.com>