-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass URL query string naively and remove date
header
#3
Comments
BTW thank you for creating this. Super useful for my tiny project. In development I'm transparently letting requests pass through to my frontend development server. In production I also use the proxy to serve the static build. The frontend is using Svelte Kit. It's a super lean and quick way to have both Python and Svelte JS in the same repo. On Render I deploy using NODE_ENV=production poetry install --no-dev && pip install gunicorn && yarn install --production=false && node_modules/.bin/svelte-kit build and then just run gunicorn with a uvicorn worker. |
Thank you for the appreciation and sorry it's taken a while to get back to this. I wonder if there should be other upstream headers that should be deduplicated by default – HTTP of course supports multiple headers, and in many cases (e.g. |
I noticed a URL queryparameter like
?import
is turned into?import=
. Perhaps it's better to pass thescope['query_string']
along naively to ensure URL’s are as transparent and unmodified as possible?... also noticed a double date header because my server added it. Perhaps a default behaviour of removing it from the upstream response headers?
The text was updated successfully, but these errors were encountered: