In the second example the author does the following:<p><pre><code> $ ACCEPT="text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
$ curl -v -H "$UA" -H "$ACCEPT" $URL |& grep '< HTTP'
</code></pre>
The author fails to prefix $ACCEPT with the actual header key. It should be:<p><pre><code> $ curl -v -H "$UA" -H "Accept: $ACCEPT" $URL |& grep '< HTTP'</code></pre>