Changes

Jump to navigation Jump to search
163 bytes added ,  00:01, 9 September 2012
no edit summary
In this documentation, the namespace is bound to the {{Code|request}} prefix.
 
The following example will be referenced in the function definitions. It demonstrates what components a URI may consist of (the example is derived from [http://tools.ietf.org/html/rfc3986 RFC 3986]):
<pre>
foo://example.com:8042/over/there?name=ferret
\_/ \_________/ \__/\_________/ \_________/
| | | | |
scheme hostname port path query
</pre>
=General Functions=
=URI Functions=
 
The following example show what components a URI consists of (the examples is derived from [http://tools.ietf.org/html/rfc3986 RFC 3986]):
<pre>
foo://example.com:8042/over/there?name=ferret
\_/ \_________/ \__/\_________/ \_________/
| | | | |
scheme hostname port path query
</pre>
==request:scheme==
| '''Summary'''
|Returns the Scheme component of the URI of an HTTP request.
|-
| '''Example'''
|For the example given in the introduction, this method would return {{Code|foo}}.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu