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

Safari tries to download 404 responses #3

Closed
farktronix opened this issue Jun 19, 2022 · 4 comments
Closed

Safari tries to download 404 responses #3

farktronix opened this issue Jun 19, 2022 · 4 comments

Comments

@farktronix
Copy link
Collaborator

I tried to access https://0l0.lol/db8a22f49c7f98690106cc2aaac15201608db185b4ada99b5bf4f222883e1223 (which should have royragsdale's spring) in Safari and it prompted me to download a zero byte file. I'm not good enough at this HTTP stuff to know what's causing that- maybe it's the missing content-type: header?

It would be nice to return a "spring not found" page in this case

HTTP/2 404 
cache-control: no-store
date: Sun, 19 Jun 2022 18:50:45 GMT
feature-policy: geolocation 'none'; midi 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none';
pragma: no-cache
referrer-policy: no-referrer
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-frame-options: DENY
x-xss-protection: 1; mode=block
content-length: 0```
@rpj
Copy link
Owner

rpj commented Jun 19, 2022 via email

@rpj rpj closed this as completed in 50a1f85 Jun 19, 2022
@farktronix
Copy link
Collaborator Author

Working on generating a key right now, and trying to set up my own server. I realized my request for a 404 error page was dumb because that's not part of the spec. However, it might be nice to wrap responses to clients with user-agents for browsers with a valid HTML body and then you'd have a handy web interface for people to explore with too

@rpj
Copy link
Owner

rpj commented Jun 19, 2022 via email

@rpj
Copy link
Owner

rpj commented Oct 11, 2022 via email

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