]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Return 304 when content isn't reloaded using the API 2635/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 22 Nov 2016 09:45:17 +0000 (10:45 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 22 Nov 2016 09:45:19 +0000 (10:45 +0100)
commit5cd0857e3c87541fa8a628b0623b8959bfba2ca8
treebac9d0e78d0908fa3c8e4c22900a6d7b2d456735
parent944b8d61752bedd126e1cdaeb3205177e414cf6b
Return 304 when content isn't reloaded using the API

Previously it was a 400 but this is more related to a real error.
Using the API user should only know the content got reloaded or not.
If reloaded: 200 otherwise: 304.
src/Wallabag/ApiBundle/Controller/EntryRestController.php
tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php