Skip to content

Commit

Permalink
Update TROUBLESHOOTING.md (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschfh committed Jun 14, 2024
1 parent 8c6eee9 commit f46fd38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit f46fd38

Please sign in to comment.