"kpm restore" only caches http responses with 200 status code

parent #817