diff include/urweb.h @ 1119:951fced704d6

Basis.textBlob; support HTTP requests with no headers
author Adam Chlipala <adamc@hcoop.net>
date Tue, 05 Jan 2010 15:53:35 -0500
parents 87b0a9d08e73
children 74f2eb3b0606
line wrap: on
line diff
--- a/include/urweb.h	Tue Jan 05 14:57:35 2010 -0500
+++ b/include/urweb.h	Tue Jan 05 15:53:35 2010 -0500
@@ -215,6 +215,7 @@
 uw_Basis_string uw_Basis_fileMimeType(uw_context, uw_Basis_file);
 uw_Basis_blob uw_Basis_fileData(uw_context, uw_Basis_file);
 uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob);
+uw_Basis_blob uw_Basis_textBlob(uw_context, uw_Basis_string);
 
 __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType);
 __attribute__((noreturn)) void uw_redirect(uw_context, uw_Basis_string url);