Skip to content
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

refactor: Multipart parsers #126

Conversation

calvincestari
Copy link
Member

This refactors the multipart response parsers so that each can be built to focus on just their parser data specification logic and common shared logic to process the general multipart response format.

  • MultipartResponseParsingInterceptor now handles the mechanics of the multipart message chunk parsing.
  • MultipartResponseSpecificationParser now just requires each specification parser to handle the logic for parsing each data line for a single specification.

This only includes error based-tests for MultipartResponseDeferParser because the executor is not complete. Only once the executor is able to handle deferred fragments will the parsing based-tests be able to succeed.

@calvincestari calvincestari linked an issue Nov 7, 2023 that may be closed by this pull request
Copy link
Contributor

@AnthonyMDev AnthonyMDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@calvincestari calvincestari merged commit e803c9a into feature/defer-execution-networking Nov 7, 2023
@calvincestari calvincestari deleted the defer/refactor-multipart-parsers branch November 7, 2023 22:16
Copy link
Contributor

@AnthonyMDev AnthonyMDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

calvincestari added a commit that referenced this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement deferSpec response parser
2 participants