add optional request parameteer to type-to-status

pass it to extra-status-handler too