-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle unsupported media type properly for streaming requests #15531
Conversation
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
❌ Gradle check result for d81b1d4: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for d81b1d4: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❕ Gradle check result for d81b1d4: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15531 +/- ##
============================================
- Coverage 72.01% 71.90% -0.12%
- Complexity 63603 63605 +2
============================================
Files 5247 5247
Lines 297186 297189 +3
Branches 42939 42940 +1
============================================
- Hits 214023 213683 -340
- Misses 65610 66023 +413
+ Partials 17553 17483 -70 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit 03d9a24) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…arch-project#15531) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…arch-project#15531) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…arch-project#15531) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…arch-project#15531) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Description
Handle unsupported media type properly for streaming requests
Related Issues
Fixes the NPE in
RestBulkStreamingAction
when content type header (media type) is not specified:How to reproduce:
now returns:
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.