From 7f3ece2da9ef5cebfb048a753e7e8def8c3e6e44 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Thu, 17 Apr 2014 07:23:33 -0700 Subject: [PATCH] Updated Documentation__Request (markdown) --- Documentation__Request.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation__Request.md b/Documentation__Request.md index 65bf60b5..90c093bd 100644 --- a/Documentation__Request.md +++ b/Documentation__Request.md @@ -1,5 +1,6 @@ See WSF_REQUEST +== About parameters == Note that by default there is a smart computation for the query/post/... parameters: for instance - `q=a&q=b` : will create a **WSF_MULTIPLE_STRING** parameter with name **q** and value `[a,b]` @@ -7,4 +8,10 @@ for instance - `tab[]=ewf&tab[]=demo` : will create a **WSF_TABLE** parameter with name **tab** and value `{ "1": "ewf", "2": "demo"}` - `tab[foo]=foo&tab[foo]=bar` : will create a **WSF_TABLE** parameter with name **tab** and value `{ "foo": "bar"}` **WARNING: only the last `tab[foo]` is kept**. -Those rules are applied to query, post, path, .... parameters. \ No newline at end of file +Those rules are applied to query, post, path, .... parameters. + +== How to get the input data (i.e entity-body) ?== +See {WSF_REQUEST}.read_input_data_into (buf: STRING) + +== How to get the raw header data (i.e the http header text) ?== +See {WSF_REQUEST}.raw_header_data: detachable READABLE_STRING_32