Revert "Adding output handler logic to accept either query parameters or request headers."

This reverts commit ac27aca931ebd7f4e50186b24e6781cc351093b6.