diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2021-03-26 15:42:58 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2021-03-26 15:42:58 +0000 |
commit | c093ee7ec50233feb3ff0444c91e394abee4c52a (patch) | |
tree | 8767933f2f28fa074003f230ff91575d76ea3374 /test/ruby | |
parent | 97b4de0d4accfc7ccda561da9856db5f0f560b6b (diff) | |
download | unit-c093ee7ec50233feb3ff0444c91e394abee4c52a.tar.gz unit-c093ee7ec50233feb3ff0444c91e394abee4c52a.tar.bz2 |
Tests: added test for Ruby default encoding.
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/encoding/config.ru | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/encoding/config.ru b/test/ruby/encoding/config.ru new file mode 100644 index 00000000..60bf0efa --- /dev/null +++ b/test/ruby/encoding/config.ru @@ -0,0 +1,8 @@ +app = Proc.new do |env| + ['200', { + 'Content-Length' => '0', + 'X-Enc' => Encoding.default_external.to_s, + }, ['']] +end + +run app |