Skip to content

Commit

Permalink
[Test-Proxy] Don't match on x-ms-useragent (#2185)
Browse files Browse the repository at this point in the history
* add x-ms-useragent to the set of headers that we don't care to match on.

* force latest language version
  • Loading branch information
scbedd authored Oct 29, 2021
1 parent 991b2cd commit 48f528b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<ToolCommandName>test-proxy</ToolCommandName>
<LangVersion>9.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.10.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public RecordMatcher(bool compareBodies = true)
"x-ms-date",
"x-ms-client-request-id",
"User-Agent",
"x-ms-useragent",
"Request-Id",
"traceparent"
};
Expand All @@ -49,6 +50,7 @@ public RecordMatcher(bool compareBodies = true)
"x-ms-date",
"x-ms-client-request-id",
"User-Agent",
"x-ms-useragent",
"Request-Id",
"If-Match",
"If-None-Match",
Expand Down

0 comments on commit 48f528b

Please sign in to comment.