Skip Menu |

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 59497
Status: resolved
Priority: 0/
Queue: HTTP-Message

Owner: Nobody in particular
Requestors: daniel.frett [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: (patch included) add ability to specify custom priority for HTTP::Config items
Download (untitled) / with headers
text/plain 685b
Currently there is no way to specify a custom order for items returned from the matching method in the HTTP::Config object. I'm proposing the addition of a priority field in an item's %matchspec that is used as a sort key before using the sort key's defined by the built-in matching rules. the priority field will be treated as optional with item's not specifying it defaulting to a priority of 0. I've written a patch to introduce this functionality and uploaded it to github here: In the set of commits there is a test for the priority field, plus I updated the sorting code to correctly support the new priority field.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to