Support generating RFC 2231 values and structured headers for Content-Disposition

Will the JS interpreter extract/reuse (PARAMETER_QUOTES + "%") or will a new string be created each time?

I think I'd suggest just using a regex anyways?  If not that, declare a separate constant above where you define PARAMTER_QUOTES.