Revert "Merge pull request #1083 from bitwiseman/issue/754"

This reverts commit 837526ce5d, reversing
changes made to 8b3f50d4d3.
This commit is contained in:
Liam Newman
2021-05-27 11:13:39 -07:00
parent 196ee25452
commit c197dc6b7b
104 changed files with 395 additions and 625 deletions

View File

@@ -159,9 +159,6 @@ public class GitHubWireMockRule extends WireMockMultiServerRule {
if (server != null) {
server.snapshotRecord(recordSpec().forTarget(target)
// "X-HTTP-Method-Override" is used to send http methods not supported by
// HttpURLConnection without using hacky Java reflection techniques
.captureHeader("X-HTTP-Method-Override")
// "If-None-Match" header used for ETag matching for caching connections
.captureHeader("If-None-Match")
// "If-Modified-Since" header used for ETag matching for caching connections