[ https://issues.apache.org/jira/browse/SOLR-17743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947624#comment-17947624 ]
ASF subversion and git services commented on SOLR-17743: -------------------------------------------------------- Commit 0bc55d5bc4c3ba8fdfec749957cf33cc6076ae57 in solr's branch refs/heads/main from David Smiley [ https://gitbox.apache.org/repos/asf?p=solr.git;h=0bc55d5bc4c ] SOLR-17743: V2 API: use correct content-type (#3326) V2 API: Raw uploads should use the correct content-type: application/octet-stream not JSON. > 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: 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org