From f46fd38f4a3a65864bc49062f3151b151d935a82 Mon Sep 17 00:00:00 2001 From: mschfh <37435502+mschfh@users.noreply.github.com> Date: Fri, 14 Jun 2024 05:13:58 -0500 Subject: [PATCH] Update TROUBLESHOOTING.md (#1440) --- docs/TROUBLESHOOTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index fec66319fa..7f0292b009 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -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).