diff options
author | Artur <artur@vaadin.com> | 2017-03-09 14:50:46 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-03-09 14:50:46 +0200 |
commit | 776b54648a44a9d996b362ce71816d1187a84a79 (patch) | |
tree | 2c88439cc15fef916358cec5a18d4eac7c6c39ff /shared | |
parent | 520f2e9f21367799f000911159f2ea5d9bf9e0f2 (diff) | |
download | vaadin-framework-776b54648a44a9d996b362ce71816d1187a84a79.tar.gz vaadin-framework-776b54648a44a9d996b362ce71816d1187a84a79.zip |
Include charset in text/html responses (#8777)
Fixes #8775
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/ApplicationConstants.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java index 142573ea1f..79a597b4f4 100644 --- a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java @@ -158,4 +158,9 @@ public class ApplicationConstants implements Serializable { */ public static final String WIDGETSET_VERSION_ID = "wsver"; + /** + * Content type to use for text/html responses (should always be UTF-8). + */ + public static final String CONTENT_TYPE_TEXT_HTML_UTF_8 = "text/html; charset=utf-8"; + } |