+
Skip to content

Add web proxy mode #55

Open
Open
@clue

Description

@clue

Right now, LeProxy requires being run from the command line in order to spawn a new listening socket for its proxy operation. Users are then expected to configure their client programs to use this as a proxy server.

Once LeProxy has a web interface (#52) and also some degraded web mode when run behind a web server (#54), there's an increased chance that people will expect it to "just work" without requiring any additional client configuration.

We should provide a web proxy mode where a single URL input field is provided and LeProxy then sends the HTTP request to this address. A simple HTML/CSS-only view is relative straight forward, however getting all the HTTP headers (redirects, cookies, CORS etc.) and content features (active JavaScript, JSON or XML content referencing other URLs etc.) right may or may not be possible at all. This means that there's a fair chance this will stay a "beta" feature for a very long time. For a possible implementation, see also #19 where @legionth has done an excellent job implementing the basic HTTP request features.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载