Remove HTTP status


#1

@lukastribus could you help me with the following. I just want completely remove status description from HTTP response. Here is what I’m trying to do:
http-response set-status 204 reason “”. if is_204
But this code leaving dot in response.

I’ve tried also following:
http-response set-status 204 reason . if is_204
But this leaves default description.


#2

What happens without the dot?

http-response set-status 204 reason "" if is_204


#3

@lukastribus

‘http-response set-status’ expects either ‘if’ or ‘unless’ followed by a condition but found ‘reason’.

I’ve tried this way from very beginning but decided do not post it because of configuration error appeared.

Also I’ve checked the code and looks like there is no option for empty reason.