]> granicus.if.org Git - ejabberd/commit
Parse and encode https header names like native http parser does
authorPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 11 Apr 2012 15:24:36 +0000 (17:24 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 11 Apr 2012 15:28:18 +0000 (17:28 +0200)
commite2d6bc95a4ce5f5ea29fd369f376987ffc8b7e85
tree3ab4ce2f5a93305b534a9f444080dc6344ef4095
parent06f570f4ff858b21e07c64067c5d1dc1fe6efec0
Parse and encode https header names like native http parser does

This code adds case normalization step to https headers parsing, making
it correctly use atoms for some special header no matter how upper/lower
case letters are used in input string
src/web/ejabberd_http.erl