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

Hudson commented on NUTCH-2123:
-------------------------------

SUCCESS: Integrated in Nutch-trunk #3286 (See 
[https://builds.apache.org/job/Nutch-trunk/3286/])
Fix for NUTCH-2123: Seed List REST API returns Text but headers 
indicate/require JSON contributedy by Sujen Shah and Aron Ahmadia. (mattmann: 
[http://svn.apache.org/viewvc/nutch/trunk/?view=rev&rev=1706934])
* trunk/CHANGES.txt
* trunk/src/java/org/apache/nutch/service/resources/SeedResource.java


> 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)

Reply via email to