[
https://issues.apache.org/jira/browse/SOLR-17743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley resolved SOLR-17743.
---------------------------------
Fix Version/s: 9.9
Resolution: Fixed
Was also [pushed to
branch_9x|https://github.com/apache/solr/commit/bc5da05fe8f23593ef679663dd8555feb9826e93]
but I don't see a bot comment for this yet
> 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
> Fix For: 9.9
>
> Time Spent: 50m
> 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: [email protected]
For additional commands, e-mail: [email protected]