summaryrefslogtreecommitdiffstats
path: root/integration-tests/resp-set-header.rb
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/resp-set-header.rb')
-rw-r--r--integration-tests/resp-set-header.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/integration-tests/resp-set-header.rb b/integration-tests/resp-set-header.rb
new file mode 100644
index 0000000..228837a
--- /dev/null
+++ b/integration-tests/resp-set-header.rb
@@ -0,0 +1,7 @@
+class App
+ def on_resp(env)
+ env.resp.set_header "Alpha", "bravo"
+ end
+end
+
+App.new