HoustonPutman commented on PR #5287:
URL: https://github.com/apache/solr/pull/5287#issuecomment-6618070361
> Would distingushing on the accept type help?
Yeah, and that would work great for full configSet upload. For a single file
it gets iffy in case the file is of type json. Basically we can make it that if
the file matches the schema (`{location:"...", "repository": "...."}`), it is a
repo upload, otherwise its a file upload. The problem is that if the user has a
small error, it will be uploaded as a file to the configSet instead of getting
a 400 error back.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]