ipfs / ipfs/gateway-conformance

Use values that follow CanonicalHeaderKey in Header checks

Open
#99 0 comments 2 reactions 0 assignees View on GitHub
feat:universality
Dominant language
Go
Stars
19
Forks
15
Avg merge
1d 4h
Merged PRs (30d)
5

Description

This is just a stylistic nit (cc @laurentsenta @hacdias for visibility)

https://pkg.go.dev/net/http#CanonicalHeaderKey

Our tests should have already canonical format, to ensure users who are in rush and copy&paste blindly will use normalized version.

For example:

```diff
- Header("X-IPFS-Path")
+ Header("X-Ipfs-Path")

- Header("ETag")
+ Header("Etag")
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.