diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2017-03-30 09:22:28 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2017-03-30 09:22:28 +0200 |
| commit | af28a07780452575cf945d7617daa4a2a1ca114d (patch) | |
| tree | c6696db14f503e54ad3ef98be6b4eaace03b7013 /htroot | |
| parent | 1ccc44e6814e0e9db183cf975d7f9211668b2a77 (diff) | |
Updated API calls recording/replay with recent changes.
- enabled HTTP POST calls with Digest HTTP authentication
- made API calls compatible with API newly restricted to HTTP POST only
with transaction token validation
- ensured backward compatibility with older entries recorded as HTTP
GET
Diffstat (limited to 'htroot')
| -rw-r--r-- | htroot/CrawlStartScanner_p.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/htroot/CrawlStartScanner_p.java b/htroot/CrawlStartScanner_p.java index 1b93abb4a..ece9f28d5 100644 --- a/htroot/CrawlStartScanner_p.java +++ b/htroot/CrawlStartScanner_p.java @@ -212,7 +212,7 @@ public class CrawlStartScanner_p if ( url != null ) { String path = "/Crawler_p.html?createBookmark=off&xsstopw=off&crawlingDomMaxPages=10000&intention=&range=domain&indexMedia=on&recrawl=nodoubles&xdstopw=off&storeHTCache=on&sitemapURL=&repeat_time=7&crawlingQ=on&cachePolicy=iffresh&indexText=on&crawlingMode=url&mustnotmatch=&crawlingDomFilterDepth=1&crawlingDomFilterCheck=off&crawlingstart=Start%20New%20Crawl&xpstopw=off&repeat_unit=seldays&crawlingDepth=99&directDocByURL=off"; path += "&crawlingURL=" + url.toNormalform(true); - WorkTables.execAPICall( + WorkTables.execGetAPICall( Domains.LOCALHOST, sb.getLocalPort(), path, @@ -259,7 +259,7 @@ public class CrawlStartScanner_p String path = "/Crawler_p.html?createBookmark=off&xsstopw=off&crawlingDomMaxPages=10000&intention=&range=domain&indexMedia=on&recrawl=nodoubles&xdstopw=off&storeHTCache=on&sitemapURL=&repeat_time=7&crawlingQ=on&cachePolicy=iffresh&indexText=on&crawlingMode=url&mustnotmatch=&crawlingDomFilterDepth=1&crawlingDomFilterCheck=off&crawlingstart=Start%20New%20Crawl&xpstopw=off&repeat_unit=seldays&crawlingDepth=99"; path += "&crawlingURL=" + urlString; - WorkTables.execAPICall( + WorkTables.execGetAPICall( Domains.LOCALHOST, sb.getLocalPort(), path, |
