diff options
author | Juan A. Suarez Romero <jasuarez@igalia.com> | 2013-08-23 14:53:55 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2013-08-23 14:56:08 +0000 |
commit | 8bcf9eafafebe18e008ebe7f90ed27764d8331c8 (patch) | |
tree | 74b7c0fbe662a2c66784a025a1fe62ef37e9ff1d /doc | |
parent | 9fc9d629cd8f38091740aa01795ad71e2dd88e53 (diff) | |
download | grilo-8bcf9eafafebe18e008ebe7f90ed27764d8331c8.tar.gz |
doc: use semicolon in ignored-parameters
ignored-parameters is a list of keys to be ignored when dealing with mockup
network content.
While in theory we can use either a colon or semicolon to separate the
parameters, according to GKeyFile documentation, using colon doesn't work very
well.
So let's suggest to use semicolon.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/grilo/plugins-testing.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/grilo/plugins-testing.xml b/doc/grilo/plugins-testing.xml index 151c1fc..c30bec6 100644 --- a/doc/grilo/plugins-testing.xml +++ b/doc/grilo/plugins-testing.xml @@ -116,7 +116,7 @@ $ export GRL_DEBUG="registry:*" <programlisting> [default] version = 1 -ignored-parameters = field1[,field2[,...]] or "*" +ignored-parameters = field1[;field2[;...]] or "*" [http://www.example.com] data = content/of/response.txt @@ -142,14 +142,14 @@ timeout = 500 </listitem> <listitem> - <varname>ignored-parameters</varname> is a comma separated list of + <varname>ignored-parameters</varname> is a semicolon separated list of query parameter names that can be used to map URLs to sections without paying attention to query parameters listed here. By setting a value of "api_key" a request for <code>http://www.example.com?q=test+query&api_key=dummy</code> will be answered with the mock data for <code>http://www.example.com?q=test+query</code>. - Setting "api_key,q" or "*" will result in mock answer for + Setting "api_key;q" or "*" will result in mock answer for <code>http://www.example.com</code>. </listitem> </itemizedlist> |