[#3] Fixed bugs related to not-found and media-types