Skip to content

Commit 422458b

Browse files
authored
Merge pull request #321 from FriendsOfSymfony/etag-flag-is-boolean
the etag flag is a boolean value
2 parents 181a03f + 8203b30 commit 422458b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private function addCacheControlSection(ArrayNodeDefinition $rootNode)
204204
->scalarNode('stale_while_revalidate')->end()
205205
->end()
206206
->end()
207-
->scalarNode('etag')
207+
->booleanNode('etag')
208208
->defaultValue(false)
209209
->info('Set a simple ETag which is just the md5 hash of the response body')
210210
->end()

0 commit comments

Comments
 (0)