diff --git a/lib/rjr/messages/response.rb b/lib/rjr/messages/response.rb
index <HASH>..<HASH> 100644
--- a/lib/rjr/messages/response.rb
+++ b/lib/rjr/messages/response.rb
@@ -78,7 +78,7 @@ class Response
 
   def parse_headers(request)
     request.keys.select { |k|
-      !['jsonrpc', 'id', 'method', 'params'].include?(k)
+      !['jsonrpc', 'id', 'method', 'result', 'error'].include?(k)
     }.each { |k| @headers[k] = request[k] }
   end
Fix json fields ignored in response header analysis

Recent refactoring exposed a bug where response headers
were not being set properly