This is an automated email from the ASF dual-hosted git repository. snagel pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nutch.git
commit 4bcaeeb8bfeaefadb627ea1a4eec56a9670ff777 Merge: b11082a f1aa728 Author: Sebastian Nagel <[email protected]> AuthorDate: Tue Jun 12 17:41:18 2018 +0200 Merge pull request #328 from sebastian-nagel/nutch-2576-protocol-okhttp NUTCH-2576 HTTP protocol implementation based on okhttp build.xml | 4 + conf/nutch-default.xml | 22 ++ .../org/apache/nutch/metadata/HttpHeaders.java | 4 + .../org/apache/nutch/net/protocols/Response.java | 26 ++ src/plugin/build.xml | 3 + .../apache/nutch/protocol/http/api/HttpBase.java | 64 ++++- .../nutch/protocol/htmlunit/HttpResponse.java | 4 +- .../apache/nutch/protocol/http/HttpResponse.java | 23 +- src/plugin/protocol-okhttp/build.xml | 50 ++++ src/plugin/protocol-okhttp/ivy.xml | 42 +++ src/plugin/protocol-okhttp/jsp/basic-http.jsp | 44 +++ src/plugin/protocol-okhttp/jsp/brokenpage.jsp | 47 +++ src/plugin/protocol-okhttp/jsp/redirect301.jsp | 49 ++++ src/plugin/protocol-okhttp/jsp/redirect302.jsp | 49 ++++ src/plugin/protocol-okhttp/plugin.xml | 53 ++++ .../org/apache/nutch/protocol/okhttp/OkHttp.java | 248 ++++++++++++++++ .../nutch/protocol/okhttp/OkHttpResponse.java | 191 +++++++++++++ .../nutch/protocol/okhttp/package-info.java} | 29 +- .../src/test/conf/nutch-site-test.xml | 43 +++ .../protocol/okhttp/TestBadServerResponses.java | 318 +++++++++++++++++++++ .../nutch/protocol/okhttp/TestProtocolOkHttp.java | 141 +++++++++ 21 files changed, 1406 insertions(+), 48 deletions(-) -- To stop receiving notification emails like this one, please contact [email protected].
