Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Repeated calls to stubs with content causes exception #32

Closed
rhatherall opened this issue Oct 15, 2020 · 0 comments · Fixed by #33 or atkins126/Delphi-WebMocks#1
Closed

Repeated calls to stubs with content causes exception #32

rhatherall opened this issue Oct 15, 2020 · 0 comments · Fixed by #33 or atkins126/Delphi-WebMocks#1
Assignees
Labels
bug Something isn't working

Comments

@rhatherall
Copy link
Member

Due to the content streams not being reset between stub requests the second
requests will fail with exception.

@rhatherall rhatherall added the bug Something isn't working label Oct 15, 2020
@rhatherall rhatherall self-assigned this Oct 15, 2020
rhatherall added a commit that referenced this issue Oct 15, 2020
Fixes #32.

Implementations of `IWebMockResponseBodySource` now return new streams
on calling `GetContentStream`. The content streams are freed by the Indy
HTTP server after completion.
rhatherall added a commit that referenced this issue Oct 15, 2020
Fixes #32.

Implementations of `IWebMockResponseBodySource` now return new streams
on calling `GetContentStream`. The content streams are freed by the Indy
HTTP server after completion.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
1 participant