LukeMathWalker / wiremock-rs

HTTP mocking to test Rust applications.
Apache License 2.0
607 stars 69 forks source link

Fix mistake that slipped through review. #132

Closed xd009642 closed 8 months ago

xd009642 commented 8 months ago

Description of changes:

if the last 4 bytes of the of the truncated body happen to all be valid character boundaries it'll print it 4 times. This adds a break after it's printed to avoid this issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.