opamp-go icon indicating copy to clipboard operation
opamp-go copied to clipboard

retry policy: parse datetime value for Retry-After header?

Open srikanthccv opened this issue 2 years ago • 3 comments

I started working on writing tests as part of #99. I noticed that the retry header only works with delay seconds. The header value can either be seconds or datatime. Should the datetime case be accounted for or assume the server always sends the seconds?

srikanthccv avatar Jul 31 '22 13:07 srikanthccv

I think yes, we should allow datetime since HTTP spec allows that.

tigrannajaryan avatar Sep 06 '22 14:09 tigrannajaryan

Hi 👋 would like to help with this one if needed

nemoshlag avatar Sep 15 '22 07:09 nemoshlag

@nemoshlag sounds great, I assigned this issue to you.

tigrannajaryan avatar Sep 15 '22 13:09 tigrannajaryan