Describe the bug
When editing a custom post type that doesn't support revisions, autosaving is triggered hits a 404 since the REST endpoint autosave doesn't exist.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would have expected the autosave not to happen if the custom post type doesn't support revisions.
Additional context
I would have expected the autosave not to happen if the custom post type doesn't support revisions.
Within this, it may be good to clarify:
Related #7442
I'm thinking that maybe autosaves should _always_ exist, not just on post types that support revisions.
In the classic editor, autosaves continue to work regardless of whether the post type supports revisions. Turning off revisions, explicitly still allows for a single autosave revision (per user), see https://codex.wordpress.org/Revisions#Revision_Options