Closed rgee0 closed 5 years ago
The HTTP mode has been handled via b899713
The other modes are still pending the fix.
@ivanayov would you like to pick up the fix for the other remaining modes when you come back from the holidays?
Alex
Since the afterburn mode is meant to be deprecated, there's no need for the header in there too.
As for the streaming mode (the default) it's said that HTTP headers cannot be sent after function starts executing. So there's no need to even try providing the header there since its value can only be known after function starts executing.
@alexellis already added the header for the HTTP mode, so that leaves only the serializing mode to provide the header in. @omerzamir and I would take the fix for this issue if that's fine with you.
Omri
SGTM
Derek close: fixed
Thank you both.
Expected Behaviour
Similar behaviour to the classic watchdog:
Current Behaviour
Context
Consistent experience across classic and of-watchdog. Greater compatibility for users once they migrate to of-watchdog