The Dublin Core metadata element set
is a standard for cross-domain information resource description.
|
||
Element | Description | Value |
---|---|---|
Identifier | resource ID | http://old.zope.org/Members/gregweb/HTTPRequestHotfix |
Title | resource name | Adds query_string to the HTTPRequest class |
Description | resource summary | HTTPRequestHotfix Product This so called 'Hotfix' adds the new method 'query_string' to the HTTPRequest class. The method is then accessible through the 'REQUEST' object. It builds a url quoted (quote_plus) query string from a dictionary (usually from the form dictionary which is based on QUERY_STRING). Usage query_string([[replace]=replace_dict], [[original]=original_dict]]) Updates 'original_dict' by the values in 'replace_dict' and returns the result as url quoted query string. 'original_dict' defaults to 'REQUEST.form' if no parameter is passed to it. Keys in 'replace_dict' with a value of 'None' (or _.None in DTML) will be deleted from 'original_dicts' before being quoted. The original 'REQUEST.form' will remain unchanged. Examples (assuming 'REQUEST.form' is {'foobar':'no translation', 'foo':'bar'}) 1. query_string(replace={'foobar':'furchtbar in german'}) returns 'foobar=furchtbar+in+german&foo=bar' 2. query_string(replace={'gaga':'&%+'}, original={'bar', 'foo'}) returns 'gaga=26%25%2b&bar=foo' 3. query_string(replace={'bar':'foo', 'foo', _.None}) returns 'foobar=no+translation&bar=foo' 4. The same in DTML: <dtml-var "REQUEST.query_string(replace={'bar':'foo', 'foo', _.None})"> returns 'foobar=no+translation&bar=foo' Have fun! Gr�goire Weber, 2001-07-12 |
Creator | resource creator | ZopeOrgSite |
Date | default date | 2001-07-13 08:26:39 |
Format | resource format | text/html |
Type | resource type | Software Package |
Subject | resource keywords | Developer, Helpers, Patches |
Contributors | resource collaborators | |
Language | resource language | |
Publisher | resource publisher | No publisher |
Rights | resource copyright | |
|
||
Element | Description | Value |
CreationDate | date resource created | 2001-07-13 08:26:39 |
ModificationDate | date resource last modified | 2001-07-13 08:26:39 |
EffectiveDate | date resource becomes effective | None |
ExpirationDate | date resource expires | None |
Backlinks:
via
Google
/
Technorati
RDF:
view RDF data