Saws tricks and SIP mitmproxy details

How to remove particular headers from FF requests

http://www.mobify.com/blog/beginners-guide-to-http-cache-headers/ http://musicallyut.blogspot.de/2013/03/mitmproxy-as-reverse-proxy.html

El Capitan saws installation workaround

curl -O https://bootstrap.pypa.io/get-pip.py; sudo python get-pip.py
sudo pip install saws
brew install python

brew pip saws
OSError: [Errno 1] Operation not permitted: '/var/folders/0p/dbqfx3j929q8t8dh1g0vd_wc0000gp/T/pip-FXPAXK-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'

sudo pip install saws
OSError: [Errno 1] Operation not permitted: '/tmp/pip-Ww8pro-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'


pip install saws --ignore-installed six
IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/six.py'


pip install --user saws
(working)

saws issues with locale

Traceback (most recent call last): ValueError: unknown locale: UTF-8

export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8

General information about SIP

http://apple.stackexchange.com/questions/208478/how-do-i-disable-system-integrity-protection-sip-aka-rootless-on-os-x-10-11