[jira] [Updated] (SOLR-11266) V2 API returning wrong content-type
[ https://issues.apache.org/jira/browse/SOLR-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Munendra S N updated SOLR-11266: Resolution: Done Assignee: Munendra S N Fix Version/s: master (9.0) Status: Resolved (was: Patch Available) > V2 API returning wrong content-type > --- > > Key: SOLR-11266 > URL: https://issues.apache.org/jira/browse/SOLR-11266 > Project: Solr > Issue Type: Improvement > Components: v2 API >Reporter: Ishan Chattopadhyaya >Assignee: Munendra S N >Priority: Major > Fix For: master (9.0) > > Attachments: SOLR-11266.patch, SOLR-11266.patch > > > The content-type of the returned value is wrong in many places. It should > return "application/json", but instead returns "application/text-plan". > Here's an example: > {code} > [ishan@t430 ~] $ curl -v > "http://localhost:8983/api/collections/products/select?q=*:*=0; > * Trying 127.0.0.1... > * TCP_NODELAY set > * Connected to localhost (127.0.0.1) port 8983 (#0) > > GET /api/collections/products/select?q=*:*=0 HTTP/1.1 > > Host: localhost:8983 > > User-Agent: curl/7.51.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 184 > < > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "q":"*:*", > "rows":"0"}}, > "response":{"numFound":260,"start":0,"docs":[] > }} > * Curl_http_done: called premature == 0 > * Connection #0 to host localhost left intact > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11266) V2 API returning wrong content-type
[ https://issues.apache.org/jira/browse/SOLR-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Munendra S N updated SOLR-11266: Attachment: SOLR-11266.patch > V2 API returning wrong content-type > --- > > Key: SOLR-11266 > URL: https://issues.apache.org/jira/browse/SOLR-11266 > Project: Solr > Issue Type: Improvement > Components: v2 API >Reporter: Ishan Chattopadhyaya >Priority: Major > Attachments: SOLR-11266.patch, SOLR-11266.patch > > > The content-type of the returned value is wrong in many places. It should > return "application/json", but instead returns "application/text-plan". > Here's an example: > {code} > [ishan@t430 ~] $ curl -v > "http://localhost:8983/api/collections/products/select?q=*:*=0; > * Trying 127.0.0.1... > * TCP_NODELAY set > * Connected to localhost (127.0.0.1) port 8983 (#0) > > GET /api/collections/products/select?q=*:*=0 HTTP/1.1 > > Host: localhost:8983 > > User-Agent: curl/7.51.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 184 > < > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "q":"*:*", > "rows":"0"}}, > "response":{"numFound":260,"start":0,"docs":[] > }} > * Curl_http_done: called premature == 0 > * Connection #0 to host localhost left intact > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11266) V2 API returning wrong content-type
[ https://issues.apache.org/jira/browse/SOLR-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gus Heck updated SOLR-11266: Issue Type: Improvement (was: Bug) > V2 API returning wrong content-type > --- > > Key: SOLR-11266 > URL: https://issues.apache.org/jira/browse/SOLR-11266 > Project: Solr > Issue Type: Improvement > Components: v2 API >Reporter: Ishan Chattopadhyaya >Priority: Major > Attachments: SOLR-11266.patch > > > The content-type of the returned value is wrong in many places. It should > return "application/json", but instead returns "application/text-plan". > Here's an example: > {code} > [ishan@t430 ~] $ curl -v > "http://localhost:8983/api/collections/products/select?q=*:*=0; > * Trying 127.0.0.1... > * TCP_NODELAY set > * Connected to localhost (127.0.0.1) port 8983 (#0) > > GET /api/collections/products/select?q=*:*=0 HTTP/1.1 > > Host: localhost:8983 > > User-Agent: curl/7.51.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 184 > < > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "q":"*:*", > "rows":"0"}}, > "response":{"numFound":260,"start":0,"docs":[] > }} > * Curl_http_done: called premature == 0 > * Connection #0 to host localhost left intact > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11266) V2 API returning wrong content-type
[ https://issues.apache.org/jira/browse/SOLR-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Munendra S N updated SOLR-11266: Status: Patch Available (was: Open) > V2 API returning wrong content-type > --- > > Key: SOLR-11266 > URL: https://issues.apache.org/jira/browse/SOLR-11266 > Project: Solr > Issue Type: Bug > Components: v2 API >Reporter: Ishan Chattopadhyaya >Priority: Major > Attachments: SOLR-11266.patch > > > The content-type of the returned value is wrong in many places. It should > return "application/json", but instead returns "application/text-plan". > Here's an example: > {code} > [ishan@t430 ~] $ curl -v > "http://localhost:8983/api/collections/products/select?q=*:*=0; > * Trying 127.0.0.1... > * TCP_NODELAY set > * Connected to localhost (127.0.0.1) port 8983 (#0) > > GET /api/collections/products/select?q=*:*=0 HTTP/1.1 > > Host: localhost:8983 > > User-Agent: curl/7.51.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 184 > < > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "q":"*:*", > "rows":"0"}}, > "response":{"numFound":260,"start":0,"docs":[] > }} > * Curl_http_done: called premature == 0 > * Connection #0 to host localhost left intact > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11266) V2 API returning wrong content-type
[ https://issues.apache.org/jira/browse/SOLR-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Munendra S N updated SOLR-11266: Attachment: SOLR-11266.patch > V2 API returning wrong content-type > --- > > Key: SOLR-11266 > URL: https://issues.apache.org/jira/browse/SOLR-11266 > Project: Solr > Issue Type: Bug > Components: v2 API >Reporter: Ishan Chattopadhyaya >Priority: Major > Attachments: SOLR-11266.patch > > > The content-type of the returned value is wrong in many places. It should > return "application/json", but instead returns "application/text-plan". > Here's an example: > {code} > [ishan@t430 ~] $ curl -v > "http://localhost:8983/api/collections/products/select?q=*:*=0; > * Trying 127.0.0.1... > * TCP_NODELAY set > * Connected to localhost (127.0.0.1) port 8983 (#0) > > GET /api/collections/products/select?q=*:*=0 HTTP/1.1 > > Host: localhost:8983 > > User-Agent: curl/7.51.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 184 > < > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "q":"*:*", > "rows":"0"}}, > "response":{"numFound":260,"start":0,"docs":[] > }} > * Curl_http_done: called premature == 0 > * Connection #0 to host localhost left intact > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11266) V2 API returning wrong content-type
[ https://issues.apache.org/jira/browse/SOLR-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cassandra Targett updated SOLR-11266: - Component/s: v2 API > V2 API returning wrong content-type > --- > > Key: SOLR-11266 > URL: https://issues.apache.org/jira/browse/SOLR-11266 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: v2 API >Reporter: Ishan Chattopadhyaya >Priority: Major > > The content-type of the returned value is wrong in many places. It should > return "application/json", but instead returns "application/text-plan". > Here's an example: > {code} > [ishan@t430 ~] $ curl -v > "http://localhost:8983/api/collections/products/select?q=*:*=0; > * Trying 127.0.0.1... > * TCP_NODELAY set > * Connected to localhost (127.0.0.1) port 8983 (#0) > > GET /api/collections/products/select?q=*:*=0 HTTP/1.1 > > Host: localhost:8983 > > User-Agent: curl/7.51.0 > > Accept: */* > > > < HTTP/1.1 200 OK > < Content-Type: text/plain;charset=utf-8 > < Content-Length: 184 > < > { > "responseHeader":{ > "zkConnected":true, > "status":0, > "QTime":1, > "params":{ > "q":"*:*", > "rows":"0"}}, > "response":{"numFound":260,"start":0,"docs":[] > }} > * Curl_http_done: called premature == 0 > * Connection #0 to host localhost left intact > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org