Gasket for threaded fitting and end piece with threaded cap.