[albatross-users] Patch to 1.11pre2
Andrew McNamara
andrewm at object-craft.com.au
Fri Jan 9 15:40:56 EST 2004
>* <al-input type="image"> is confusing. Consider having ctx.req_equals()
>check for "name.x" if "name" doesn't exist?
Applied and doco updated (mainly consisted of removing things though).
>* Allow multiple Cookie values to be set (Michael C. Neel).
>
>---> Biggest change made here. The headers mixin now keeps a list of
>values for each header, which also means get_header returns a list. I
>opted for get_headers to always return a list as it's consistent, but it
>could be changed to only return a list on more than one value to remain
>backwards compatible. Also, this does not work with the httpdapp.py
>request class, as it keeps headers as a dict internally so doesn't handle
>duplicate keys. the apacheapp.py was changed to use the add(key, val)
>method of mod_python to handle the dupes.
A slight variation of your patch was applied. I realised that the header
matching should be case insensitive, so I restructured ResponseMixin
somewhat. I've also fixed httpdapp.py (I think!), Doco updated.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
More information about the Albatross-users
mailing list