Closed dctrwatson closed 10 years ago
Hi @dctrwatson,
what do you mean by this? the time used on this directive is the same used on Last-Modified/If-Modified-Since headers. It was created only to support jsonp requests where you generally can't specify any additional header, it follow the same format of specified for those headers.
It's for convenience for our frontend. Since I'm told we can't always mess with the headers. They have an epoch equivalent to last-modifed from a separate request, so this is just to eliminate the manual formatting (IE: https://github.com/wandenberg/nginx-push-stream-module/blob/master/misc/js/pushstream.js#L40-L43)
This was solved on tag 0.4.0 3d3a204177d3a7ab8a2858e04e792a6d11bf133f
This way formatting doesn't have to occur in the javascript