NAME

HTTP::Throwable::Role::Status::MultipleChoices - 300 Multiple Choices

VERSION

version 0.013

DESCRIPTION

The requested resource corresponds to any one of a set of representations, each with its own specific location, and agent-driven negotiation information is being provided so that the user (or user agent) can select a preferred representation and redirect its request to that location.

Unless it was a HEAD request, the response SHOULD include an entity containing a list of resource characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is specified by the media type given in the Content-Type header field. Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.

If the server has a preferred choice of representation, it SHOULD include the specific URI for that representation in the Location field; user agents MAY use the Location field value for automatic redirection. This response is cacheable unless indicated otherwise.

ATTRIBUTES

location

This is an optional string, which, if supplied, will be used in the Location header when creating a PSGI response.

Note that this is not (at present) the location attribute provided by the role HTTP::Throwable::Role::Redirect, which this role does not include.

AUTHORS

  • Stevan Little <stevan.little@iinteractive.com>

  • Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.