code: def extract_status(self, status_headers):
          
          self['status'] = status_headers.get_statuscode()
          if not self['status']:
              self['status'] = '-'
          elif self['status'] == '204' and 'Error' in status_headers.statusline:
              self['status'] = '-'
docs: Extract status code only from status line