发布时间:2013-05-16 16:38:20
1)【Receive from 192.168.1.1 : 54054】:-- begin: uh_path_lookup: bufferlen = 0, docroot = /www, url = /index.html File:uhttpd-utils.c, Line:549【Receive from 192.168.1.1 : 48498】:uh_path_lookup: i = 15, path_info = /www/index.html File:uhttpd-utils.c, Line:560【Receive from 192.........【阅读全文】
发布时间:2013-02-28 14:16:03
//紧凑格式和非紧凑格式{"name":"Jack (\"Bee\") Nimble","id1":1,"id2":2,"IDs":[116, 943, 234, 38793],"format":{"type":"rect","width":1920,"height":1080,"interlace":false,"frame rate":24}}{"name":"Jack (\"Bee\") Nimble","id1":1,"id2":2,"IDs":[116, 943, 234, 38793],"format":{"type":"rect.........【阅读全文】
发布时间:2013-01-05 14:08:52
http以post方式上传一个文件,构造其请求头和消息报文 假设接受文件的网页程序位于 http://192.168.24.56/logsys/home/uploadIspeedLog!doDefault.html.假设我们要发送一个图片文件,文件名为“kn.jpg”, 首先客户端链接 192.168.24.56 后, 应该发送如下http 请求: POST/logsys/home/uploadIspeedLog!doDefault.html HTTP/1.1 Accept: text/plain, */* Accept-Language:......【阅读全文】
发布时间:2012-12-31 11:22:30
#------ 5个元件接收头部OK, 可以看到 root . Content-Length: 1495【Receive from 192.168.1.1 : 34118】:uh_http_header_recv: uh_tcp_peek, buflen = 4095, rlen = 2019, POST /bsedit/test.cgi HTTP/1.1Host: 192.168.1.1User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0Accept: tex......【阅读全文】
发布时间:2012-12-19 12:18:52
点击(此处)折叠或打开DEBUGP("uh_http_header_parse: buflen = %d, headers = %s\n", buflen, headers);for( i = (int)(headers - buffer); i < buflen; i++ ){ /* found eol and have name + value, push out header tuple */ if( hdrname && hdrdata && (buffer[i] == '\r' || buffer[i] == '\n') ) { buffer......【阅读全文】