You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using file handlebar with docker camouflage a "Error: Can't set headers after they are sent" occurs instead of the file being served.
To Reproduce
Steps to reproduce the behavior:
Mock File Content
HTTP/1.1 200 OK
Content-Type: image/png
{{file path="./files/mr_man.png"}}
camouflage | Error: Can't set headers after they are sent.
camouflage | at SendStream.headersAlreadySent (/usr/local/lib/node_modules/camouflage-server/node_modules/send/index.js:386:13)
camouflage | at SendStream.send (/usr/local/lib/node_modules/camouflage-server/node_modules/send/index.js:613:10)
camouflage | at onstat (/usr/local/lib/node_modules/camouflage-server/node_modules/send/index.js:725:10)
camouflage | at FSReqCallback.oncomplete (node:fs:199:5)
Expected behavior
The file is served.
Screenshots
N/A
Desktop (please complete the following information):
OS: [macOS Ventura 13.3]
Browser [Using postman not a browser]
Version [Not sure what version I am meant to put here]
Additional context
Attach camouflage.log file
The text was updated successfully, but these errors were encountered:
Describe the bug
When using file handlebar with docker camouflage a "Error: Can't set headers after they are sent" occurs instead of the file being served.
To Reproduce
Steps to reproduce the behavior:
camouflage/mocks/aws/s3/student-plans/GET.mock
Expected behavior
The file is served.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
Attach camouflage.log file
The text was updated successfully, but these errors were encountered: