xo::oauth::Signature proc base_string_from_url (public)

 xo::oauth::Signature[i] base_string_from_url uri

Defined in /var/www/openacs.org/packages/xooauth/tcl/oauth-procs.tcl

This procedure transforms a given URL into a format that is conformant to "http://tools.ietf.org/html/rfc5849#section-3.4.1.2". Most importantly, it strips any query part from the URL.

Parameters:
uri (required)

Testcases:
No testcase defined.
Source code:
set info [uri::split $uri]
set base_string_uri [uri::join  scheme [dict get $info scheme]  host [dict get $info host]  port [dict get $info port]  path [dict get $info path]]
return $base_string_uri
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: