Skip to content

Commit

Permalink
airframe-http-recorder: Fix exclude flag behavior (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Aug 20, 2019
1 parent 7d1c91e commit c73d8a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class HttpRecordStore(val recorderConfig: HttpRecorderConfig, dropSession: Boole
val rh = recorderConfig.requestMatcher.computeHash(request)

val httpHeadersForRecording: Seq[(String, String)] =
request.headerMap.toSeq.filter { x =>
request.headerMap.toSeq.filterNot { x =>
recorderConfig.excludeHeaderForRecording(x._1, x._2)
}
val entry = HttpRecord(
Expand Down

0 comments on commit c73d8a7

Please sign in to comment.