From: Dennis Schafroth Date: Thu, 26 Apr 2012 08:48:04 +0000 (+0000) Subject: Using settings files instead of urls X-Git-Tag: v1.6.13~16^2~10 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=75f24b1ce4700ef88cd7250d05939c108848e5f5;p=pazpar2-moved-to-github.git Using settings files instead of urls --- diff --git a/test/test_url.urls b/test/test_url.urls index 9d0ebc5..a8592fc 100644 --- a/test/test_url.urls +++ b/test/test_url.urls @@ -1,14 +1,14 @@ -http://localhost:9763/search.pz2?command=init&clear=1&pz:elements%5Bmy%5D=F&pz:requestsyntax%5Bmy%5D=usmarc&pz:nativesyntax%5Bmy%5D=iso2709&pz:xslt%5Bmy%5D=marc21_test.xsl&pz:name%5Bmy%5D=marcserver&pz:url%5Bmy%5D=z3950.indexdata.com%2Fmarc +test_url_settings_1.xml http://localhost:9763/search.pz2?command=init&clear=1 http://localhost:9763/search.pz2?session=1&command=search&query=computer 2 http://localhost:9763/search.pz2?session=1&command=show&block=1 -http://localhost:9763/search.pz2?session=1&command=settings&pz:url%5Bmy%5D=z3950.indexdata.com%2Fgils&pz:sortmap:title%5Bmy%5D=type7:title +test_url_settings_2.xml http://localhost:9763/search.pz2?session=1&command=settings http://localhost:9763/search.pz2?session=1&command=search&query=the&maxrecs=3 2 http://localhost:9763/search.pz2?session=1&command=show&block=1 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:1 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:1 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:0 2 http://localhost:9763/search.pz2?session=1&command=show&block=1&sort=title:0 -http://localhost:9763/search.pz2?command=init&clear=1&pz:elements%5Bmy%5D=F&pz:requestsyntax%5Bmy%5D=usmarc&pz:nativesyntax%5Bmy%5D=iso2709&pz:xslt%5Bmy%5D=marc21_test.xsl&pz:name%5Bmy%5D=marcserver&pz:url%5Bmy%5D=z3950.unknown.indexdata.com%2Fmarc +test_url_settings_3.xml http://localhost:9763/search.pz2?command=init&clear=1 http://localhost:9763/search.pz2?session=2&command=search&query=fail -http://localhost:9763/search.pz2?command=init&clear=1&pz:elements%5Bmy%5D=F&pz:requestsyntax%5Bmy%5D=usmarc&pz:nativesyntax%5Bmy%5D=iso2709&pz:xslt%5Bmy%5D=marc21_test.xsl&pz:name%5Bmy%5D=marcserver&pz:url%5Bmy%5D=z3950.indexdata.com%2Fmarc&pz:pqf_strftime%5Bmy%5D=fail+%25%25 +test_url_settings_4.xml http://localhost:9763/search.pz2?command=init&clear=1 http://localhost:9763/search.pz2?session=3&command=search&query=fail