[ 
https://issues.apache.org/jira/browse/KNOX-3443?focusedWorklogId=1041331&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1041331
 ]

ASF GitHub Bot logged work on KNOX-3443:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Sep/26 09:08
            Start Date: 14/Sep/26 09:08
    Worklog Time Spent: 10m 
      Work Description: hanicz commented on PR #1385:
URL: https://github.com/apache/knox/pull/1385#issuecomment-5661615111

   Duplicate of https://github.com/apache/knox/pull/1393




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1041331)
    Time Spent: 0.5h  (was: 20m)

> Add unit test coverage for MimeTypes
> ------------------------------------
>
>                 Key: KNOX-3443
>                 URL: https://issues.apache.org/jira/browse/KNOX-3443
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Raghav Maheshwari
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Add comprehensive unit tests for org.apache.knox.gateway.util.MimeTypes in 
> the gateway-util-common module.
> The tests should cover:
> Creating MIME types from valid values
> Handling null MIME type input
> Adding and preserving charset parameters
> Preserving existing MIME type parameters
> Handling malformed MIME type values
> Getting explicit and default charsets
> Setting and replacing charset values
> Handling null, empty, unknown, and parameterized MIME types
> Case-insensitive and whitespace-tolerant default charset lookup
> All configured default MIME type mappings



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to