diff --git a/charcoal/charcoal.py b/charcoal/charcoal.py
index <HASH>..<HASH> 100644
--- a/charcoal/charcoal.py
+++ b/charcoal/charcoal.py
@@ -219,9 +219,9 @@ class Charcoal(object):
                     else:
                         message, status = self.warn_test("Insecure request made and ignored")
                         self.add_output("SecureRequest", message, status)
-        self.output.append(dict(self.req.headers), sec='response_headers')
-        self.output.append(self.req.status_code, sec='response_status_code')
         if self.test["protocol"] != 'tcp':
+            self.output.append(dict(self.req.headers), sec='response_headers')
+            self.output.append(self.req.status_code, sec='response_status_code')
             if 'show_body' in self.test:
                 try:
                     req_content = self.req.content.decode()
Do not record request output in TCP test

TCP tests will not have request status code or header data so only add them to
output if the test is not TCP. Previously, trying to add the data was resulting
in a stacktrace as the req object did not exist.