Metadata fix, protocol dix
This commit is contained in:
parent
ed85b89ce8
commit
4b9caee604
2 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ int mainHandler(int CONN_fd){
|
||||||
FlashBuf.append(tag->data,tag->len);
|
FlashBuf.append(tag->data,tag->len);
|
||||||
} else {
|
} else {
|
||||||
FlashMeta = "";
|
FlashMeta = "";
|
||||||
FlashMeta.append(tag->data,tag->len);
|
FlashMeta.append(tag->data+11,tag->len-15);
|
||||||
if( !Flash_ManifestSent ) {
|
if( !Flash_ManifestSent ) {
|
||||||
HTTP_S.Clean();
|
HTTP_S.Clean();
|
||||||
HTTP_S.SetHeader("Content-Type","text/xml");
|
HTTP_S.SetHeader("Content-Type","text/xml");
|
||||||
|
|
|
@ -35,7 +35,7 @@ void HTTPReader::Clean(){
|
||||||
seenReq = false;
|
seenReq = false;
|
||||||
method = "GET";
|
method = "GET";
|
||||||
url = "/";
|
url = "/";
|
||||||
protocol = "HTTP/1.0";
|
protocol = "HTTP/1.1";
|
||||||
length = 0;
|
length = 0;
|
||||||
HTTPbuffer = "";
|
HTTPbuffer = "";
|
||||||
headers.erase(headers.begin(), headers.end());
|
headers.erase(headers.begin(), headers.end());
|
||||||
|
|
Loading…
Add table
Reference in a new issue