xbmc/xbmc — pull request #3467 by Karlson2k (2013-10-20 12:04:20+00:00)
Title: CurlFile - update 03

This is part of larger PR #3226 (other parts: #3462, #3464).

This PR is based on PR #3462. [Here is a list of changes by this PR](https://github.com/Karlson2k/xbmc/compare/curlfile_update_01...curlfile_update_03).

This PR will move header parsing logic from CurlFile directly to HttpHeader, add 'AddParam' and 'GetCharset' functions to HttpHeader and add 'GetServerReportedCharset' function to CurlFile.

Some fixes and refactoring included.