Skip to content
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

Allow flexibility to have different upload and download host names #40

Open
fishcakeday opened this issue Nov 22, 2024 · 2 comments
Open

Comments

@fishcakeday
Copy link

In the current form, the protocol is limited to small file sizes if one chose to utilize CDN. Traditionally, CDNs were not built to accept PUT/POST requests with the large body, and that trend is not likely to change, while potentially increasing the costs of the hosting service to accommodate for the unified host name. My main question is, is there a room to incorporate alternation in the host name for the PUTed files, or allow any sort of split?

@hzrd149
Copy link
Owner

hzrd149 commented Nov 26, 2024

maybe, although it would be difficult to do without introducing a sitemap / metadata endpoint

It might be possible to use a 301 or 302 redirect on the /upload endpoint but I don't know if that would cause issues for any clients

@fishcakeday
Copy link
Author

301/302 convert all requests to GET per RFC. 307/308 maybe the way but hard to say if it’s supported widely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants