Geeksltd / Olive

Olive framework, for more productive cross platform .NET solutions. It's available under the GPL v3 license. See License.md for more information.
https://geeksltd.github.io/Olive
Other
44 stars 44 forks source link

OutboxDevCommand - Can't download the attachment #237

Closed AitzazTheGeek closed 5 years ago

AitzazTheGeek commented 5 years ago

When downloading the attachment from Outbox command page , An exception is raised "ThrowResponseAlreadyStartedException (Status code can't be set because response has already started)"

With some investigation in the issue found out that DevCommandMiddleware is setting the status code to 302 (redirect) after the response has been written by EmailTestDevCommand. responsealreadywritten throwresponsealreadystarted

hamidmayeli commented 5 years ago

Hi @AitzazTheGeek, I guess it has been fixed, am I wrong?

AitzazTheGeek commented 5 years ago

@HamidTheGeek yes it is.