summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-26 07:06:16 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-26 07:06:16 +0000
commit87f49ec51c262621682f43c90e8389da337fd0cf (patch)
tree76710573f57b383a1e7be187994681960271bdff /docs
parent4174e45860ac9a31c7fea619168c8865475993b4 (diff)
downloadpyramid-87f49ec51c262621682f43c90e8389da337fd0cf.tar.gz
pyramid-87f49ec51c262621682f43c90e8389da337fd0cf.tar.bz2
pyramid-87f49ec51c262621682f43c90e8389da337fd0cf.zip
- When two views were registered with the same ``accept`` argument,
but were otherwise registered with the same arguments, if a request entered the application which had an ``Accept`` header that accepted *either* of the media types defined by the set of views registered with predicates that otherwise matched, a more or less "random" one view would "win". Now, we try harder to use the view callable associated with the view configuration that has the most specific ``accept`` argument. Thanks to Alberto Valverde for an initial patch.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions