[ https://issues.apache.org/jira/browse/NUTCH-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel resolved NUTCH-2376. ------------------------------------ Resolution: Fixed Assignee: Sebastian Nagel Commited to master/1.x ([db77f19|https://github.com/apache/nutch/commit/db77f1965b6b6871db91beba338b5bf540ffed4e]) and 2.x ([755799f|https://github.com/apache/nutch/commit/755799f1e5cad9bcfe6dca66e3c0372c421b56c9]). > Improve configurability of HTTP Accept* header fields > ----------------------------------------------------- > > Key: NUTCH-2376 > URL: https://issues.apache.org/jira/browse/NUTCH-2376 > Project: Nutch > Issue Type: Improvement > Components: protocol > Affects Versions: 2.3.1, 1.13 > Reporter: Sebastian Nagel > Assignee: Sebastian Nagel > Priority: Minor > Fix For: 2.4, 1.14 > > > There should be no differences between protocol-http and protocol-httpclient > whether the HTTP header fields {{Accept}}, {{Accept-Language}} and > {{Accept-Charset}} are configurable. The configured values should be used for > both plugins. In addition, > - it should be possible to unset the default values (overwrite with empty > value) so that no HTTP header field is sent > - default values should be contained in nutch-default.xml > Note: {{Accept-Encoding}} should not be configurable as the protocol plugins > must support the accepted compression codecs which may not be the case e.g. > for Brotli. -- This message was sent by Atlassian JIRA (v6.3.15#6346)