-
-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Labels
enhancementNew feature or improvement to the libraryNew feature or improvement to the library
Milestone
Description
⚠️ Is your feature request related to a problem? Please describe
#544 Introduced skipping duplex and one-shot bodies. However, when such bodies are skipped by Chucker it displays (body is empty) instead of appropriate information.
Additionally, the user sees -1B as the size of the request payload.
💡 Describe the solution you'd like
Change isRequestBodyEncoded and isResponseBodyEncoded properties to enums that indicates what happened to bodies.
enum class BodyType {
Decoded, Encoded, Empty, OneShot, Duplex
}📊 Describe alternatives you've considered
Just edit the message (body is empty) to something else and display - as the request body size.
📄 Additional context
Let's discuss which solution should be applied. I opt for the enum as it should be more flexible for future extensions.
🙋 Do you want to develop this feature yourself?
- Yes
- No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to the libraryNew feature or improvement to the library