Quota count limit in response header

Not applicable

Hi All,

I tried to put below code in <AssignMessage> of a policy to count the quota used/left in response header, but its not working.

<Headername="RateLimit-Limit">{ratelimit.Quota.allowed.count}</Header>
<Headername="RateLimit-Available">{ratelimit.Quota.available.count}</Header>
<Headername="RateLimit-Reset">{ratelimit.Quota.expiry.time}</Header>

Can someone please provide solution for this.

0 2 239
2 REPLIES 2

Could it be a missing space in between Header and name?

<Header name="RateLimit-Limit">{ratelimit.Quota.allowed.count}</Header>
<Header name="RateLimit-Available">{ratelimit.Quota.available.count}</Header>
<Header name="RateLimit-Reset">{ratelimit.Quota.expiry.time}</Header>

I kept space between Header and name