add response error code defines.
add upload file support, and error handle support.