current logic makes it impossible to reach this point w/o `headers` being set. do we want to just do nothing if they're not set, or should we allow it to fail and consider it a bug?