dingo / dingo/api

prepareResponse set weak etags

Open
#1,499 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.