[MGNLIMG-171] Set contentType correctly in ImagingServlet Created: 08/Sep/15 Updated: 05/Feb/16 Resolved: 15/Sep/15 |
|
| Status: | Closed |
| Project: | Imaging |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.5, 3.1.5-java7, 3.2.3 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Robert Šiška | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.25d | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Epic Link: | contentTypeCheck | ||||||||||||||||
| Sprint: | Kromeriz 11 | ||||||||||||||||
| Story Points: | 1 | ||||||||||||||||
| Description |
|
Right now ImagingServlet sets up the ContentType, but it creates invalid types for some formats. E.g. image/jpg should be image/jpeg. The fix involves checking configured mime mapping in config:/server/MIMEMapping via MIMEMapping.getMIMEType(String). |