fixed issue when sending application/json header with empty bory request