Skip to content

Example of serving content using http://myapp/ url - allows to bypass file:// protocol restrictions #465

Open
@cztomczak

Description

@cztomczak

Loading content using file:// protocol has many restrictions. Does't integrate well with http content, cookies don't work, local storage is shared across all urls, Origin header (CRSF) doesn't work, CORS issues with files accessing each other (e.g. between directories), etc. Serving content using http://myapp/ url works similarly to serving content using custom scheme handler e.g. myapp:// (although scheme handlers are more configurable, see #50). It doesn't require running a server or running additional processes, it just maps requests. Currently scheme handlers are not implemented. There is available the wxpython-response.py example that can be found in README-examples.md and it shows how to use a Resource Handler along with web requests.

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions