# Accessing Proxy-Authorization header

**URL:** <https://discourse.mitmproxy.org/t/accessing-proxy-authorization-header/1314>\
**Category:** Uncategorized\
**Created:** [November 1, 2018, 3:19pm UTC](https://discourse.mitmproxy.org/t/accessing-proxy-authorization-header/1314 "2018-11-01T15:19:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PranavPrakash52](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@PranavPrakash52](https://discourse.mitmproxy.org/u/PranavPrakash52)\
**Post date:** [November 1, 2018, 3:19pm UTC](https://discourse.mitmproxy.org/t/accessing-proxy-authorization-header/1314/1 "2018-11-01T15:19:42Z")

</div>

Hai everyone,

I would like to know if there is any way i can access the Proxy-Authorization header after the connect request has been made. I want to access the header inside the request event if its possible. I’am trying to track requests based on this header.

Thanks

---

<div class="post-metadata">

**Author:** ![Gigiarum](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/gigiarum/32/278_2.png) [@Gigiarum](https://discourse.mitmproxy.org/u/Gigiarum)\
**Post date:** [November 2, 2018, 4:03pm UTC](https://discourse.mitmproxy.org/t/accessing-proxy-authorization-header/1314/2 "2018-11-02T16:03:55Z")

</div>

You can check mitmproxy’s internal behaviour [here](https://github.com/mitmproxy/mitmproxy/blob/master/mitmproxy/addons/proxyauth.py).

---

<div class="post-metadata">

**Author:** ![PranavPrakash52](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@PranavPrakash52](https://discourse.mitmproxy.org/u/PranavPrakash52)\
**Post date:** [November 5, 2018, 5:11am UTC](https://discourse.mitmproxy.org/t/accessing-proxy-authorization-header/1314/3 "2018-11-05T05:11:26Z")

</div>

Thank you @Gigiarum i have found a work around.
