Fixed #102: content handler: priority
Merge pull request #189 from chaizhenhua/content_handler

Improved content_handler