Commits

Justin Sheehy committed 96d135f

Automated commit message

  • Participants
  • Parent commits 8c30e7d

Comments (0)

Files changed (1)

WebmachineReqData.wiki

 | {{{ req_cookie(rd()) -> string() }}} | The raw value of the cookie header.  Note that get_cookie_value is often more useful. |
 | {{{ get_qs_value(string(),rd()) -> 'undefined' | string() }}} | Given the name of a key, look up the corresponding value in the query string. |
 | {{{ get_qs_value(string(),string(),rd()) -> string() }}} | Given the name of a key and a default value if not present, look up the corresponding value in the query string. |
-| {{{ req_qs(rd()) -> string() }}} | The parsed query string, if any.  Note that get_qs_value is often more useful. |
+| {{{ req_qs(rd()) -> [{string(), string()}] }}} | The parsed query string, if any.  Note that get_qs_value is often more useful. |
 | {{{ get_resp_header(string(),rd()) -> string() }}} | Look up the current value of an outgoing request header. |
 | {{{ resp_redirect(rd()) -> bool() }}} | the last value passed to do_redirect, false otherwise -- if true, then some responses will be 303 instead of 2xx where applicable |
 | {{{ resp_headers(rd()) -> mochiheaders() }}} | The outgoing HTTP headers.  Generally, get_resp_header is more useful. |