diff Lib/IMPL/Web/Application.pm @ 242:fe9d62d9054d

requestCharset support
author sergey
date Thu, 18 Oct 2012 20:02:51 +0400
parents 3cebcf6fdb9b
children a02b110da931
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;
 	}
 }