Skip to content

http response not close body in ApiClient #1753

@mappjzc

Description

@mappjzc

Describe the bug

image
image

when the ApiClient failed beacuse of afterReponse . the res.body has been created sucess but not to close after it.

To Reproduce

Steps to reproduce the behavior:
see the code

Expected behavior

http response body should be closed if it created sucess.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

type/bugThis issue is a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions