Skip to content

Commit

Permalink
simplified conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore committed Dec 16, 2020
1 parent b7dedee commit 42ad14d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions proxies/proxies.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions proxies/remote-proxy-gcp/apiproxy/proxies/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@
</Step>
<Step>
<Name>Raise-Fault-Not-Modified</Name>
<Condition>(etag != null) and (etag = response.header.etag)</Condition>
<Condition>etag = response.header.etag</Condition>
</Step>
<Step>
<Name>Send-Product-List</Name>
<Condition>(lookupcache.Lookup-Products.cachehit = true) and (etag != response.header.etag)</Condition>
<Condition>lookupcache.Lookup-Products.cachehit = true</Condition>
</Step>
</Response>
<Condition>(proxy.pathsuffix MatchesPath "/products") and (request.verb = "GET")</Condition>
Expand Down
4 changes: 2 additions & 2 deletions proxies/remote-proxy-legacy/apiproxy/proxies/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
</Step>
<Step>
<Name>Raise-Fault-Not-Modified</Name>
<Condition>(etag != null) and (etag = response.header.etag)</Condition>
<Condition>etag = response.header.etag</Condition>
</Step>
<Step>
<Name>Send-Product-List</Name>
<Condition>(lookupcache.Lookup-Products.cachehit = true) and (etag != response.header.etag)</Condition>
<Condition>lookupcache.Lookup-Products.cachehit = true</Condition>
</Step>
</Response>
<Condition>(proxy.pathsuffix MatchesPath "/products") and (request.verb = "GET")</Condition>
Expand Down

0 comments on commit 42ad14d

Please sign in to comment.