Skip to content

Commit

Permalink
demorgans
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Nino <[email protected]>
  • Loading branch information
Jose Nino committed Feb 21, 2020
1 parent 1719bfa commit 95cbe86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ internal fun Request.outboundHeaders(): Map<String, List<String>> {
val retryPolicyHeaders = retryPolicy?.outboundHeaders() ?: emptyMap()

val result = mutableMapOf<String, List<String>>()
result.putAll(headers.filter { entry -> !(entry.key.startsWith(":") || entry.key.startsWith("x-envoy-mobile"))})
result.putAll(headers.filter { entry -> !entry.key.startsWith(":") && !entry.key.startsWith("x-envoy-mobile")})
result.putAll(retryPolicyHeaders)
result[":method"] = listOf(method.stringValue())
result[":scheme"] = listOf(scheme)
Expand Down

0 comments on commit 95cbe86

Please sign in to comment.