# Use upstream proxy without CONNECT

**URL:** <https://discourse.mitmproxy.org/t/use-upstream-proxy-without-connect/1514>\
**Category:** help\
**Created:** [April 25, 2019, 2:11am UTC](https://discourse.mitmproxy.org/t/use-upstream-proxy-without-connect/1514 "2019-04-25T02:11:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![candrews](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/candrews/32/422_2.png) [@candrews](https://discourse.mitmproxy.org/u/candrews)\
**Post date:** [April 25, 2019, 2:11am UTC](https://discourse.mitmproxy.org/t/use-upstream-proxy-without-connect/1514/1 "2019-04-25T02:11:09Z")

</div>

I’m forced to use an rather weird upstream proxy that doesn’t support CONNECT. To access https URLs, you have to use regular HTTP verbs (GET, PUT, POST, etc) just like if you were accessing http URLs. You cannot do the normal HTTPS proxy approach of opening a TCP tunnel using CONNECT. This means every normal clients (web browsers, curl, etc) are unable to access HTTPS resources through this proxy.

I’m trying to figure out how to get mitmproxy to act an HTTPS proxy that accepts CONNECT requests from “normal” clients (like web browsers and curl) and services the request using my non-CONNECT upstream proxy.

Is this possible? If so, how do I set up mitmproxy in this way?
