http post 上传文件到服务器及hfs 服务器接收文件。
#ifndef __HTTP_POST__
#define __HTTP_POST__
#define SERVER_ADDR "123.207.48.25"
#define SERVER_PORT 10001
#define SERVER_URL "123.207.48.25"
#define SERVER_PATH "/photo/"
#define HTTP_HEAD "POST %s HTTP/1.1\r\n"\
"Host: %s\r\n"\
"User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:59.0) Gecko/20100101 Firefox/59.0\r\n"\
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
1