On Thu, Dec 08, 2016 at 08:04:54AM -0500, Patrick Hemmer wrote:
>
>
> On 2016/12/7 19:15, Cyril Bonté wrote:
> > Hi,
> >
> > On 07/12/2016 21:40, Patrick Hemmer wrote:
> >> How do you use a comma inside an argument to a sample fetcher or
> >> converter?
> >> For example, the sample fetch str, if
On 2016/12/7 19:15, Cyril Bonté wrote:
> Hi,
>
> On 07/12/2016 21:40, Patrick Hemmer wrote:
>> How do you use a comma inside an argument to a sample fetcher or
>> converter?
>> For example, the sample fetch str, if I try to do `str(foo,bar)` I get
>> the error
>>
>> fetch method 'str' : end
On Dec 7, 2016 19:17, "Cyril Bonté" wrote:
For example, you can provide an "urlencoded" string and use url_dec as a
converter :
http-response add-header X-test %[str("foo%2Cbar"),url_dec]
Nice one. Also, with the regsub() converter, in the first parameter,
\\x2c does
Hi,
On 07/12/2016 21:40, Patrick Hemmer wrote:
How do you use a comma inside an argument to a sample fetcher or converter?
For example, the sample fetch str, if I try to do `str(foo,bar)` I get
the error
fetch method 'str' : end of arguments expected at position 2, but
got ',bar'
All
How do you use a comma inside an argument to a sample fetcher or converter?
For example, the sample fetch str, if I try to do `str(foo,bar)` I get
the error
fetch method 'str' : end of arguments expected at position 2, but
got ',bar'
All variations such as `str('foo,bar')`, `str(foo\,bar)`,
5 matches
Mail list logo