[ 
https://issues.apache.org/jira/browse/SLING-13247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Norman resolved SLING-13247.
---------------------------------
    Resolution: Fixed

Merged PR at:  
[{{463ccdb}}|https://github.com/apache/sling-org-apache-sling-starter-integration-tests/commit/463ccdb6da451c7561986a86089300e83e354828]

> Update HeadServletTest to allow a Content-Type response header with a charset
> -----------------------------------------------------------------------------
>
>                 Key: SLING-13247
>                 URL: https://issues.apache.org/jira/browse/SLING-13247
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: Starter Integration Tests 15
>
>
> The latest versions of jetty are appending the charset to the Content-Type 
> header of the response.
> The result is the following assertion failing in the smote test.  Fix by 
> adjusting the value matching to allow an optional charset suffix.
> {code:java}
> HeadServletTest.htmlHead:91->assertCommonHeaders:65->assertResponseHeader:58 
> Expected regexp text/html for header Content-Type, header value is 
> text/html;charset=utf-8{code}



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

Reply via email to