Skip to content

Commit

Permalink
fix charsets_provided default to [] so that choose_charset will not b…
Browse files Browse the repository at this point in the history
…e broken
  • Loading branch information
fayland committed Apr 11, 2012
1 parent ce852cf commit 3df237f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Web/Machine/Resource.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sub base_uri { undef }
sub process_post { 0 }
sub content_types_provided { [] }
sub content_types_accepted { [] }
sub charsets_provided { undef }
sub charsets_provided { [] }
sub languages_provided { [] }
sub encodings_provided { { 'identity' => sub { $_[1] } } }
sub variances { [] }
Expand Down

2 comments on commit 3df237f

@stevan
Copy link

@stevan stevan commented on 3df237f Apr 11, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, send a pull request whenever you are ready please.

@fayland
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually the module is good enough that I can't find more bugs. :)

Please sign in to comment.