Remove reference to net/url URL.RawFragment.
commit38cb420d9eee1576791f8b44b0274273bc922d62
authorDavid Fifield <david@bamsoftware.com>
Thu, 24 Jun 2021 06:06:53 +0000 (24 00:06 -0600)
committerDavid Fifield <david@bamsoftware.com>
Thu, 24 Jun 2021 06:16:51 +0000 (24 00:16 -0600)
tree8f2866f46797e1d4d010a5708b22066bce4cc111
parentfc98a32dfab5b6681591148c1bc2acee818d80d3
Remove reference to net/url URL.RawFragment.

RawFragment was introduced only in go1.15:
https://golang.org/doc/go1.15#net/url

If RawFragment works like RawPath and RawQuery, then RawFragment being
set implies Fragment is set, so the `if` conditional should have the
same effect. In returning the composed URL, the worst that may happen is
we'll lose the exact original escaping of the fragment.
amp/cache.go