Hi,

How to set the origin server status as a custom header?

I tried the header rewrite plugin with ATS 6.2.0 with the following configs.

plugin.config
```
header_rewrite.so header_rewrite.config
```


header_rewrite.config

```
cond %{SEND_RESPONSE_HDR_HOOK}
set-header X-Origin-Status %{STATUS}
```

However I got the following response header.

X-Origin-Status: 0

I expected the value is 200, not 0.

Thanks,
Hiroaki Nakamura

Reply via email to