What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

While answering PHP / Mime Types - List of mime types publically available?, I received the following error:

Oops! Your question couldn't be submitted because:

  • body is limited to 30000 characters; you entered

What's the best way to work around this? I ended up just linking to the ~1,000-line PHP array the solution requires, but is there a better way?

share|improve this question
2  
This is such an edge case IMO. Whilst link only answers aren't permitted, there's also no point including a list of half of the MIME types, so I'm not sure on the best behaviour. Adding it as two separate answers would work, but it's not ideal... –  Matt Jan 11 '13 at 13:51
1  
The question asked for a publically available list of MIME types, so your second link was actually an adequate answer. You could additionally have explained how to turn that into a PHP array. –  Asad Jan 11 '13 at 14:21
    
the best way to "work around" this (to be precise, the definitive way to present the code at sites like Stack Exchange) is SSCCE –  gnat Jan 11 '13 at 14:25

1 Answer 1

We typically want answers with high information density. A question that requires you to come up with > 30,000 characters of original code is very, very likely to be Not-A-Real-Question.

In this specific instance, your answer doesn't need to be more than 30,000 characters. It should suffice to provide a link to the the list of MIME types at the Apache website, along with the code you used to parse the original list into PHP. This contains the exact same amount of information as the snippet you were trying to paste, captured in a much smaller volume of text.

share|improve this answer
    
+1 - the only sane way to do this. SO isn't suited to contain huge lists. A link to the reference resource is sufficient. –  Pëkka Jan 11 '13 at 14:44
    
What does "NARQ" mean? –  gerrit Jan 11 '13 at 14:47
2  
@gerrit It's an acronym for "Not A Real Question". –  Asad Jan 11 '13 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .