go-httpproxy-demo

command
v0.0.0-...-4651cad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

go-httpproxy-demo is an example for HTTP and HTTPS web proxy.

Connect through HTTP proxy to HTTP: curl -x "http://test:1234@localhost:8080" http://httpbin.org/get?a=b

Connect through HTTP proxy to HTTPS with MITM: curl --insecure -x "http://test:1234@localhost:8080" https://httpbin.org/get?a=b

Connect through HTTPS proxy to HTTP: curl --proxy-insecure -x "https://test:1234@localhost:8443" http://httpbin.org/get?a=b

Connect through HTTPS proxy to HTTPS with MITM: curl --proxy-insecure --insecure -x "https://test:1234@localhost:8443" https://httpbin.org/get?a=b

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL