fix: don't flush status immediately

Closes: #148

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2021-01-11 17:54:54 +01:00
parent 5dbfee40eb
commit ec227c2ba3
6 changed files with 34 additions and 12 deletions
@@ -51,7 +51,6 @@ Feature: Setting values for handler response resources in Kapow! server.
| /response/body | bodyValue1 | body | - |
| /response/stream | bodyValue2 | body | - |
@skip
Scenario: Overwrite a resource for the current response.
Write twice a on a resource, such as a gzip middleware would require:
kapow get /response/body | gzip -c | kapow set /response/body