Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
link to accepts helper from respond_to
  • Loading branch information
kraih committed Feb 4, 2014
1 parent d26c323 commit 04b4da0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -825,6 +825,9 @@ is set to the value C<XMLHttpRequest>.
any => {data => '', status => 204}
);
For more advanced negotiation logic you can also use the helper
L<Mojolicious::Plugin::DefaultHelper/"accepts">.
=head2 send
$c = $c->send({binary => $bytes});
Expand Down

0 comments on commit 04b4da0

Please sign in to comment.