Enh #2131: Added Accept header parsing to CHttpRequest to give an array
of accepted types in order of preference
Merge remote-tracking branch 'upstream/master' into
2131-add-accept-header-parsing

Conflicts:
	CHANGELOG
Moved position of line to follow numerical order.
Added #135 back in changelog, which got lost somehow..
Separated out parse and compare functions.
Reduced regular expression count to 2 from 3.
Modified MIME type array map structure.
Merge remote-tracking branch 'upstream/master' into
2131-add-accept-header-parsing

Conflicts:
	CHANGELOG
Typo corrections
Altered parseAcceptHeader() to use only one regexp.
Thanks to Ka on StackExchange for this expression.
Merge branch 'master' of git://github.com/yiisoft/yii into 2131-add-accept-header-parsing

Upstream merge.
Typo corrections and code tidy up.
parseAcceptHeader() function description tidy up.
Added unit test file for CHttpRequest for the methods
parseAcceptHeader() and compareAcceptTypes().
Modified the regexp in parseAcceptHeader() to accept wildcards in the
path.
Modified the description of compareAcceptTypes() to better reflect the
comparison result (higher preference returns lower value, so that most
preferred is first in the array).
Merge branch 'master' of git://github.com/yiisoft/yii into 2131-add-accept-header-parsing

Merge from upstream.
Undo accidental permissions change on bootstrap.php
Transferred data for unit tests from the test functions into data
providers.
Removed unnecessary spaces.
Yii code style correction
Merge pull request #2132 branch '2131-add-accept-header-parsing' of https://github.com/Rupert-RR/yii into Rupert-RR-2131-add-accept-header-parsing

* '2131-add-accept-header-parsing' of https://github.com/Rupert-RR/yii:
  Yii code style correction
  Removed unnecessary spaces.
  Transferred data for unit tests from the test functions into data providers.
  Undo accidental permissions change on bootstrap.php
  Added unit test file for CHttpRequest for the methods parseAcceptHeader() and compareAcceptTypes(). Modified the regexp in parseAcceptHeader() to accept wildcards in the path. Modified the description of compareAcceptTypes() to better reflect the comparison result (higher preference returns lower value, so that most preferred is first in the array).
  parseAcceptHeader() function description tidy up.
  Typo corrections and code tidy up.
  Altered parseAcceptHeader() to use only one regexp. Thanks to Ka on StackExchange for this expression.
  Typo corrections
  Separated out parse and compare functions. Reduced regular expression count to 2 from 3. Modified MIME type array map structure.
  Added #135 back in changelog, which got lost somehow..
  Moved position of line to follow numerical order.
  Enh #2131: Added Accept header parsing to CHttpRequest to give an array of accepted types in order of preference

Conflicts:
	CHANGELOG
php doc adjustments after #2132
Merge branch 'Rupert-RR-2131-add-accept-header-parsing'

* Rupert-RR-2131-add-accept-header-parsing:
  php doc adjustments after #2132
  Yii code style correction
  Removed unnecessary spaces.
  Transferred data for unit tests from the test functions into data providers.
  Undo accidental permissions change on bootstrap.php
  Added unit test file for CHttpRequest for the methods parseAcceptHeader() and compareAcceptTypes(). Modified the regexp in parseAcceptHeader() to accept wildcards in the path. Modified the description of compareAcceptTypes() to better reflect the comparison result (higher preference returns lower value, so that most preferred is first in the array).
  parseAcceptHeader() function description tidy up.
  Typo corrections and code tidy up.
  Altered parseAcceptHeader() to use only one regexp. Thanks to Ka on StackExchange for this expression.
  Typo corrections
  Separated out parse and compare functions. Reduced regular expression count to 2 from 3. Modified MIME type array map structure.
  Added #135 back in changelog, which got lost somehow..
  Moved position of line to follow numerical order.
  Enh #2131: Added Accept header parsing to CHttpRequest to give an array of accepted types in order of preference