chore: Pipe headers through data sources. #111
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pipes the fdv1 fallback header, and the environment ID, through the data sources. It doesn't utilize either piece of information.
This is draft while I sort publishing the okhttp-evensource.
Note
Introduces header propagation and response handling improvements across FDv2 data sources.
HeaderConstantsand plumbsx-ld-fd-fallbackandx-ld-envidfrom HTTP/stream events intoFDv2SourceResult(newfdv1Fallbackflag) andChangeSetenvironment IDFDv2Requestor.FDv2PayloadResponseto includeisSuccess,statusCode, and factory methods (success,failure,none); 304 now returns a non-null "none" responseDefaultFDv2Requestor,PollingBase,PollingInitializerImpl, andStreamingSynchronizerImplto use structured responses and extract headers for error handling and changeset conversionokhttp-eventsourceto4.2.0Written by Cursor Bugbot for commit 5a4533f. This will update automatically on new commits. Configure here.