(x: bytes)
| 1654 | else: |
| 1655 | # Use a weak comparison when comparing entity-tags. |
| 1656 | def val(x: bytes) -> bytes: |
| 1657 | return x[2:] if x.startswith(b"W/") else x |
| 1658 | |
| 1659 | for etag in etags: |
| 1660 | if val(etag) == val(computed_etag): |
no outgoing calls
no test coverage detected