Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created September 9, 2019 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/8719fed37c7e1ac27d5f739926bac584 to your computer and use it in GitHub Desktop.
Save Integralist/8719fed37c7e1ac27d5f739926bac584 to your computer and use it in GitHub Desktop.
[Curl Redirect Output and Grep] #curl #redirect #stdout #grep
curl -svo /dev/null -H 'Fastly-Debug:1' https://www.buzzfeednews.com/article/johnpaczkowski/apple-arcade-iphone-pro-appletv 2>&1 | sort | grep -iE '^< ((cache|surrogate)-control|surrogate-key|cache|fastly)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment