You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2015/10/06 01:52:27 UTC

[jira] [Assigned] (NUTCH-2123) Seed List REST API returns Text but headers indicate/require JSON

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

Chris A. Mattmann reassigned NUTCH-2123:
----------------------------------------

    Assignee: Chris A. Mattmann

> Seed List REST API returns Text but headers indicate/require JSON
> -----------------------------------------------------------------
>
>                 Key: NUTCH-2123
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2123
>             Project: Nutch
>          Issue Type: Bug
>          Components: REST_api
>    Affects Versions: 1.11
>            Reporter: Aron Ahmadia
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>              Labels: memex
>             Fix For: 1.11
>
>         Attachments: NUTCH-2123.patch
>
>
> nutch.py: POST Endpoint: /seed/create
> nutch.py: POST Request data: {'seedUrls': [{'id': 0, 'url': 'http://aron.ahmadia.net', 'seedList': None}], 'id': '12345', 'name': 'aron'}
> nutch.py: POST Request headers: {'Accept': 'application/json'}
> nutch.py: Response headers: {'content-type': 'application/json', 'server': 'Jetty(8.1.15.v20140411)', 'content-length': '64', 'date': 'Fri, 25 Sep 2015 05:49:09 GMT'}
> nutch.py: Response status: 200
> resp.headers
> {'content-type': 'application/json', 'server': 'Jetty(8.1.15.v20140411)', 'content-length': '64', 'date': 'Fri, 25 Sep 2015 05:49:09 GMT'}
> resp.text
> '/var/folders/3s/pw2prx7n7vd22qqrlssmtn900000gp/T/1443160149187-0'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)