Hi,Is there a way to do simple math in fastly?
Example:Received cookie = 10New cookie to 10+8=18.
How can i declare an integer variable under req.http? I see that it allows only string variables to be declared.
Hello! We are working on this right now. Give us a a month or so.
Thank you Sean.Meanwhile, i am using req.grace to do math on it and then restore the original value of grace. Only problem is that initial value i see is "inf", which cannot be restored when there is no specific grace value set.
@seanDo you have any updates on this?
Hey all - sorry for the delay. It is ready to deploy, just finishing up the documentation and some last minute testing (code is done) - so should be within a few weeks. Will post here when it's live with a link to the docs.
We need this as well, glad to see it's around the corner!