Hello Mailinglist, I have following problem: I use the method "ContentType.create" to create a ContentType. The current implementation of this method transforms the input mimetype to lower case. One of our clients accepts only "Content-Type" Header as case-sensitive string. Unfortunately, we and our customer have no possibilities to change the client implementation in this case (some backward compatibilities etc). We know that this client implementation doesn't follow the RFC spec. Nevertheless, I can't use the factory method for creating the ContentType. Instead, I have to build the Http Header with a StringBuilder. This approach is very error-prone. So my question to you is, is it possible to add a flag to ContentType factory method to avoid the lower case transformation? If it's possible, I could prepare a Pull Request for this issue.
Best regards, Sandra Parsick
signature.asc
Description: OpenPGP digital signature