[
https://issues.apache.org/jira/browse/NUTCH-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337994#comment-15337994
]
ASF GitHub Bot commented on NUTCH-2282:
---------------------------------------
GitHub user lancergr opened a pull request:
https://github.com/apache/nutch/pull/120
fix for NUTCH-2282 contributed by lancergr
Return Content-type: text/plain on the following api calls:
1. GET /admin/stop
2. GET /config/:configId/:property
3. POST /config/create
4. POST /job/create
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lancergr/nutch NUTCH-2282
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nutch/pull/120.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #120
----
commit 98814a0270cfc173998366618171f746ec4d304b
Author: lancergr <[email protected]>
Date: 2016-06-18T16:01:31Z
fix for NUTCH-2282 contributed by lancergr
----
> Incorrect content-type returned in 4 API calls
> ----------------------------------------------
>
> Key: NUTCH-2282
> URL: https://issues.apache.org/jira/browse/NUTCH-2282
> Project: Nutch
> Issue Type: Bug
> Components: REST_api
> Affects Versions: 2.3.1
> Reporter: Giorgos Adam
> Priority: Trivial
>
> The REST API returns 'Content-type: application/json' instead of text/plain
> (at least) on the following calls:
> 1. GET /admin/stop
> 2. GET /config/:configId/:property
> 3. POST /config/create
> 4. POST /job/create
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)