Open moafak opened 6 years ago
How to instruct dingo to return weak etags? https://github.com/dingo/api/blob/de0f74e6079138ce1a22280f3e3635c58d8d12bf/src/Routing/Router.php#L563
setEtag method accepts a boolean parameter to set etags as weak etags https://github.com/symfony/http-foundation/blob/8961ef9554af1dfc77ce71e1a34e4953f790dc45/Response.php#L898
setEtag
Middleware seems to be a solution to this https://github.com/matthewbdaly/laravel-etag-middleware
How to instruct dingo to return weak etags?
https://github.com/dingo/api/blob/de0f74e6079138ce1a22280f3e3635c58d8d12bf/src/Routing/Router.php#L563
setEtag
method accepts a boolean parameter to set etags as weak etagshttps://github.com/symfony/http-foundation/blob/8961ef9554af1dfc77ce71e1a34e4953f790dc45/Response.php#L898