You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/19 06:13:04 UTC

[jira] [Commented] (NUTCH-2376) Improve configurability of HTTP Accept* header fields

    [ https://issues.apache.org/jira/browse/NUTCH-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016947#comment-16016947 ] 

ASF GitHub Bot commented on NUTCH-2376:
---------------------------------------

lewismc commented on issue #187: NUTCH-2376 Improve configurability of HTTP Accept* header fields
URL: https://github.com/apache/nutch/pull/187#issuecomment-302617984
 
 
   +1
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Minor
>
> 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)