Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2376

Improve configurability of HTTP Accept* header fields

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1, 1.13
    • Fix Version/s: 2.4, 1.14
    • Component/s: protocol
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              wastl-nagel Sebastian Nagel
              Reporter:
              wastl-nagel Sebastian Nagel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: