Simple-Web-Server
Simple-Web-Server copied to clipboard
There is no set-cookie method?
It's my need to put some information into cookie , transport to client.but I can not find related method!
@sebt3 @Skywalker13
This method is lacking for the time being, but you can do it your self by using Percent::encode (https://github.com/eidheim/Simple-Web-Server/blob/master/utility.hpp#L42) on the cookie values. I'll might create HttpHeader::FieldValue::SemicolonSeparatedAttributes::create as a way to create Set-Cookie value from a CaseInsensitiveMultimap.