mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-10 08:20:58 +00:00
Update TROUBLESHOOTING.md (#1440)
This commit is contained in:
parent
8c6eee9b5f
commit
f46fd38f4a
1 changed files with 2 additions and 2 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue