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

fix(#zimic): file support improvements #207

Merged
merged 9 commits into from
Jun 3, 2024

Conversation

diego-aquino
Copy link
Member

@diego-aquino diego-aquino commented Jun 3, 2024

Fixes

  • [#zimic] Extended support to use binary files as response to intercepted requests. Previously, the serialization algorithm for RPCs between remote interceptors and interceptor servers could transfer binary content incorrectly.
  • [#zimic] Considered application/xml as plain text content, not blob.

Tests

  • [#zimic] Updated the body tests to use random bytes in binary file contents, making sure that the data is processed correctly.

Documentation

  • [#zimic] Added a table showing how each content type is automatically parsed by Zimic.
  • [#zimic] Added a new section detailing request and response object of intercepted resources.

Closes #206.

@diego-aquino diego-aquino linked an issue Jun 3, 2024 that may be closed by this pull request
@diego-aquino diego-aquino self-assigned this Jun 3, 2024
@diego-aquino diego-aquino added this to the v0.6.2 milestone Jun 3, 2024
@diego-aquino diego-aquino merged commit 87ca54b into canary Jun 3, 2024
14 checks passed
@diego-aquino diego-aquino deleted the @diego-aquino/206-improve-file-support branch June 3, 2024 22:17
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.

Improve support to binary files
1 participant