debug
debug
fix content-type retrieving