Avoid one layer of HttpHeaders wrapping
See gh-24680
This commit is contained in:
@@ -32,7 +32,7 @@ import org.springframework.ui.Model;
|
||||
*/
|
||||
class DefaultRendering implements Rendering {
|
||||
|
||||
private static final HttpHeaders EMPTY_HEADERS = HttpHeaders.readOnlyHttpHeaders(new HttpHeaders());
|
||||
private static final HttpHeaders EMPTY_HEADERS = HttpHeaders.EMPTY;
|
||||
|
||||
|
||||
private final Object view;
|
||||
|
||||
Reference in New Issue
Block a user