Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

I should stringify $value, HTTP headers are strings!

  • Loading branch information...
commit b7c41675f1312f0745052099661882fb217f16ad 1 parent 41d43bf
GlitchMr authored
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.