Update TROUBLESHOOTING.md (#1440)

This commit is contained in:
mschfh 2024-06-14 05:13:58 -05:00 committed by GitHub
parent 8c6eee9b5f
commit f46fd38f4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,9 +48,9 @@ Some sites expect one or more custom headers to return a valid response. \
For example, crates.io expects a `Accept: text/html` header or else it \
will [return a 404](https://github.com/rust-lang/crates.io/issues/788).
To fix that you can pass additional headers like so: `--headers "accept=text/html"`. \
To fix that you can pass additional headers like so: `--header "accept=text/html"`. \
You can use that argument multiple times to add more headers. \
Or, you can accept all content/MIME types: `--headers "accept=*/*"`.
Or, you can accept all content/MIME types: `--header "accept=*/*"`.
See more info about the Accept header
[over at MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept).