title: Maximum MIMEType Length when storing type in DB
body: <p>What are people using as the length of a MIMEType field in their databases? The longest one we've seen so far is 72 bytes:</p>
  
  <pre><code>application/vnd.openxmlformats-officedocument.wordprocessingml.document
  </code></pre>
  
  <p>but I'm just waiting for a longer one. We're using 250 now, but has anyone seen a longer MIMEType than that?</p>
  
  <p>Edit: From the accepted answer, 127 for type and sub-type each, so that's 254 max, plus the '/' is a limit of 255 for the combined value.</p>