0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test
Naz 4959dd83b8 Added 406 errors when Accept-Version header is missmatched
refs https://github.com/TryGhost/Toolbox/issues/280

- This change covers two use cases:
  -  The accept-version > current version + the request cannot be served: ERROR CASE 1
    - The accept-version < current version + the request cannot be served: ERROR CASE 2
- Along with 406 status there's additional information about the probable cause and action to be taken by the Ghost site owner or an integration talking to the Ghost API.
- These errors is designed to allow introducing breaking API changes gradually and have meaningful information when the requests cannot be server any longer
2022-04-08 20:41:54 +12:00
..
e2e-api Added 406 errors when Accept-Version header is missmatched 2022-04-08 20:41:54 +12:00
e2e-browser Added note about installing the E2E browsers 2022-02-22 10:20:40 +01:00
e2e-frontend 🐛 Fixed post access in the get helper (#14282) 2022-03-17 11:14:29 +01:00
e2e-server Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
integration Added table to store multiple newsletters for member (#14408) 2022-04-04 18:11:36 +05:30
regression Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
unit Added 'content-version' header response 2022-04-08 20:41:54 +12:00
utils Added default newsletter subscription for new members (#14431) 2022-04-07 08:30:00 +05:30
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc