support json cookie

This commit is contained in:
root
2016-11-01 00:20:23 +00:00
parent bd8ed530b9
commit 5ebe581ea3
4 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ void execute(int client,const char* method,dictionary rq)
dictionary d = dict();
dput(d,"test",c);
dput(d,"test1","This is another cookie");
set_cookie(client,d);
set_cookie(client,"text/html; charset=utf-8",d);
LOG("%s",c);
__t(client,"<h1>Set the cookie</h1>");