[ https://issues.apache.org/jira/browse/SOLR-17743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SOLR-17743: ---------------------------------- Labels: pull-request-available (was: ) > V2 API: Raw uploads should use correct content-type: application/octet-stream > not JSON > -------------------------------------------------------------------------------------- > > Key: SOLR-17743 > URL: https://issues.apache.org/jira/browse/SOLR-17743 > Project: Solr > Issue Type: Bug > Components: v2 API > Reporter: David Smiley > Assignee: David Smiley > Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > When the V2 Upload file API is called, the content-type header indicates JSON > but actually it's anything, probably not JSON. The general type is > "application/octet-stream". > Furthermore, for non-raw, JacksonContentWriter is used but it should not > accept the content type as a param; Jackson is always JSON (notwithstanding > CBOR/Smile but we don't do that now). -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org