Repository navigation
Dev server against a remote Pulp over https, and a development README - #13
Merged
Merged
Conversation
The dev proxy now sends the target's Host and presents the target's own origin in the Origin and Referer headers, which the target checks for session writes. It adds no credential and keeps TLS verification on. DEV_HOST selects the bind address; the default is unchanged.
The README now covers install and build on macOS and Linux, running the dev server against a Pulp behind https, the unit tests, the Playwright smoke and remote projects, and the public-content hooks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The dev proxy now sends the target's own Host and presents the target's origin in the Origin and Referer headers. Pulp checks these on requests that change data after a browser sign-in, so sign-in, reads, logout and writes work through the dev server against an https Pulp. The proxy adds no credential and keeps TLS verification of the target on. DEV_HOST selects the bind address (default unchanged).
Without the rewrite every state-changing session call is answered 403; with it the remote session and create end-to-end tests pass through the dev server.
The README now documents install and build on macOS and Linux, running the dev server against any Pulp (API_PROXY, DEV_HOST, NODE_EXTRA_CA_CERTS), unit tests, the Playwright smoke and remote projects, and the git hooks.