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

HTTP interceptor request form data and binaries #103

Closed
diego-aquino opened this issue Mar 16, 2024 · 0 comments · Fixed by #191
Closed

HTTP interceptor request form data and binaries #103

diego-aquino opened this issue Mar 16, 2024 · 0 comments · Fixed by #191
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@diego-aquino
Copy link
Member

No description provided.

@diego-aquino diego-aquino added the enhancement New feature or request label Mar 16, 2024
@diego-aquino diego-aquino added this to the v0.6.0 milestone Mar 16, 2024
@diego-aquino diego-aquino modified the milestones: v0.6.0, v0.5.0 Mar 29, 2024
@diego-aquino diego-aquino changed the title HTTP interceptor request form data HTTP interceptor request form data and blob Apr 22, 2024
@diego-aquino diego-aquino self-assigned this May 4, 2024
@diego-aquino diego-aquino modified the milestones: v0.5.0, v0.6.0 May 11, 2024
@diego-aquino diego-aquino changed the title HTTP interceptor request form data and blob HTTP interceptor request form data and binaries May 26, 2024
diego-aquino added a commit that referenced this issue May 30, 2024
### Features

- [#zimic] Added strictly typed form data, exported from `zimic` as
`HttpFormData`, `HttpFormDataSchema`, and `StrictFormData`.
- [#zimic] Added support for non-JSON data in request and response
bodies. Zimic automatically parses the following data types:
  - Form data
  - URL-encoded data
  - Text data
  - Binary data (files and streams)

> [!IMPORTANT]
>
> The [jest-jsdom example
](https://github.com/zimicjs/zimic/tree/canary/examples/with-jest-jsdom)
was updated to include `ReadableStream` in the test environment. This is
necessary to test binary data parsing.

### Refactoring

- [#zimic] Unified the intercetor tests by method using `describe.each`
and `test.each`.

Closes #103.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant