[Bug 2160] HTTP_GetStdHeaderIndex is missing major response headers
http://bugs.winehq.org/show_bug.cgi?id=2160 ------- Additional Comments From wjweiss(a)hotmail.com 2004-10-04 04:36 ------- Created an attachment (id=582) --> (http://bugs.winehq.org/attachment.cgi?id=582&action=view) Proposed fix Here is a suggested fix that adds support for all known headers. I used binary search because I was unsure whether Wine relies on STL or some other localized libraries. I also added support for an enum that can be used to only return field indexs based on whether the header is a request or response header. Since the use of this option requires an additional parameter, that requires changes in other parts of the file, I chose not to include support for it. If you want to support this function, the enums are arranged such that an '&' of the header type against hdrType will return TRUE if the field is valid for that header. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs