Validate upstream status before declaring a stream successful
Validate upstream status before declaring a stream successful An adapter that opens a success stream before checking the upstream response can turn an upstream JSON error into an empty, successful-looking completion. If the adapter parses only stream events, it may silently disc…