Skip to content
Browse files

I should stringify $value, HTTP headers are strings!

  • Loading branch information...
1 parent 41d43bf commit b7c41675f1312f0745052099661882fb217f16ad GlitchMr committed Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Bailador.pm
View
2 lib/Bailador.pm
@@ -57,7 +57,7 @@ sub content_type(Str $type) is export {
}
sub header(Str $name, Cool $value) is export {
- $app.response.headers{$name} = $value;
+ $app.response.headers{$name} = ~$value;
}
sub status(Int $code) is export {

0 comments on commit b7c4167

Please sign in to comment.
Something went wrong with that request. Please try again.