Forum OpenACS Q&A: Response to need some brilliant curmudgeons.

Posted by mark dalrymple on
One weird thing that struck me when I was wallowing around inside of ns_set, was that it's not actually a set, just a quasi-associative array (but stored in a linear fashion) that can hold duplicate keys. This actually works out well for http headers since you can multiple of the same header.  Trying to map that behavior on to something saner usually degenerates you back to the current ns_set way.