changeset 242:fe9d62d9054d

requestCharset support
author sergey
date Thu, 18 Oct 2012 20:02:51 +0400
parents f48a1a9f4fa2
children cd2b1f121029
files Lib/IMPL/Web/Application.pm
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application.pm	Thu Oct 18 04:49:55 2012 +0400
+++ b/Lib/IMPL/Web/Application.pm	Thu Oct 18 20:02:51 2012 +0400
@@ -24,6 +24,7 @@
 		handlers           => PROP_RW | PROP_LIST,
 		security           => PROP_RW,
 		options            => PROP_RW,
+		requestCharset     => PROP_RW,
 		fetchRequestMethod => PROP_RW,
 		output             => PROP_RW
 	  ]
@@ -146,6 +147,7 @@
 		$hasFetched = 1;
 		$this->output(*STDOUT);
 		my $query = CGIWrapper->new();
+		$query->charset($this->requestCharset) if $this->requestCharset;
 		return $query;
 	}
 }