Skip to content

HTTPS request #182

Open
Open
@sdv75

Description

@sdv75

Helo.
I have code

import asyncio, pproxy

async def test_tcp(proxy_uri):
    conn = pproxy.Connection(proxy_uri)
    reader, writer = await conn.tcp_connect('www.google.com', 443)
    writer.write(b'GET / HTTP/1.1\r\n\r\n')
    data = await reader.read(1024*16)
    print(data.decode())

asyncio.run(test_tcp('ss://aes-256-cfb:password@remote_host:remote_port'))

I want to make a request https to the 443 port. But I have an empty response.
How can I make a request with https to the 403 port?
Also, I am interested in requests to the SMTP server (SSL and STARTTLS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions