1. 08 6月, 2017 1 次提交
    • gateway: don't redirect to trailing slash if it's go get · 4fe5b3ea
      This enables `go get` to parse go-import meta tags from index.html
      files stored in IPFS. One tiny step toward whyrusleeping/gx-go#2.
      
      For an import like `ipfs.io/ipfs/QmFoo/mypkg`, the gateway would
      previously redirect to `/ipfs/QmFoo/mypkg/` (note the trailing slash),
      which the `go get` tool can't deal with.
      
      Thankfully, `go get` sets a URL query parameter (`?go-get=1`) which
      we can use to switch off the redirect in this case.
      
      License: MIT
      Signed-off-by: 's avatarLars Gierth <larsg@systemli.org>
      Lars Gierth 提交于
  2. 30 5月, 2017 2 次提交
  3. 25 5月, 2017 11 次提交
  4. 24 5月, 2017 3 次提交
  5. 23 5月, 2017 2 次提交
  6. 22 5月, 2017 2 次提交
  7. 20 5月, 2017 3 次提交
  8. 18 5月, 2017 8 次提交
  9. 15 5月, 2017 2 次提交
  10. 14 5月, 2017 5 次提交
  11. 13 5月, 2017 1 次提交