You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (Updated) (JIRA)" <ji...@apache.org> on 2012/03/15 13:59:40 UTC

[jira] [Updated] (NUTCH-1310) Nutch to send HTTP-accept header

     [ https://issues.apache.org/jira/browse/NUTCH-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-1310:
---------------------------------

    Attachment: NUTCH-1310-1.5-1.patch

Patch for 1.5. A simple PHP script tells me it works as the Accept header is sent along with the rest:

{code}
["HTTP_ACCEPT_LANGUAGE"]=> string(28) "en-us,en-gb,en;q=0.7,*;q=0.3"
["HTTP_ACCEPT"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
{code}
                
> Nutch to send HTTP-accept header
> --------------------------------
>
>                 Key: NUTCH-1310
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1310
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.5
>
>         Attachments: NUTCH-1310-1.5-1.patch
>
>
> Nutch does not send a HTTP-accept header with its requests. This is usually not a problem but some firewall do not like it and will reject the request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira