From: Adam Dickmeiss Date: Tue, 12 Feb 2013 10:23:42 +0000 (+0100) Subject: EXTRA_RESPONSE_DATA in ztest.pl example X-Git-Tag: v1.17~8 X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=commitdiff_plain;h=b0ff44d2746db5d63f69513ac2879a30bfe69e1f EXTRA_RESPONSE_DATA in ztest.pl example --- diff --git a/ztest.pl b/ztest.pl index c1e648f..2239372 100755 --- a/ztest.pl +++ b/ztest.pl @@ -95,6 +95,7 @@ sub my_scan_handler { $args->{ENTRIES} = $entries; $args->{STATUS} = Net::Z3950::SimpleServer::ScanPartial; print "Welcome to scan....\n"; + $args->{EXTRA_RESPONSE_DATA} = 'b'; print "You scanned for term '$term'\n"; } @@ -137,6 +138,7 @@ sub my_search_handler { $args->{OUTPUTFACETS} = $facets; + $args->{EXTRA_RESPONSE_DATA} = 'b'; $args->{HITS} = $hits; $session->{$set_id} = $data; $session->{__HITS} = $hits;