Changelog:
==========
* Fix bug where the content type is always recorded as either text/plain or application/json.
* Allow asserts on add_callback() matches
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>