summaryrefslogtreecommitdiff
path: root/include/urweb.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-05 15:53:35 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-05 15:53:35 -0500
commit5b7e350bbb440255b866a14d59b69f9d8e411f36 (patch)
treeb67a5a5e5e99fc172550dd57daf21aac3ddd5f10 /include/urweb.h
parentb47fbe59f61f0caca02e370c983f12a1ff3bf6d0 (diff)
Basis.textBlob; support HTTP requests with no headers
Diffstat (limited to 'include/urweb.h')
-rw-r--r--include/urweb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 1ea75417..4b5ab273 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -215,6 +215,7 @@ uw_Basis_string uw_Basis_fileName(uw_context, uw_Basis_file);
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);