mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Add base64 support
Lua Server Pages may now call the EncodeBase64() and DecodeBase64() functions should they wish to do things like emit embeded data URIs See #97
This commit is contained in:
parent
4d21cd315d
commit
dcbd2b8668
8 changed files with 333 additions and 5 deletions
|
@ -27,7 +27,7 @@
|
|||
#include "libc/x/x.h"
|
||||
#include "net/http/http.h"
|
||||
|
||||
#define LIMIT (SHRT_MAX - 1)
|
||||
#define LIMIT (SHRT_MAX - 2)
|
||||
|
||||
enum { START, METHOD, URI, VERSION, HKEY, HSEP, HVAL, CR1, LF1, LF2 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue