title: How to get mime-type of p7s files?
body: <p>One of the possible ways to get mime-type of the file is following:</p>
  
  <pre><code>File myFile = File("myDocument.pdf");
  Path path = file.toPath();
  String mimeType = Files.probeContentType(path);
  </code></pre>
  
  <p>It returns <code>application/pdf</code>. Everything is correct.
  But this way does not work with <code>*.p7s</code> files. It returns <code>null</code> instead of expected <code>application/pkcs7-mime</code>.</p>
  
  <p>Maybe someone know where is the problem and what could be the solution?</p>