Hacker News new | past | comments | ask | show | jobs | submit login

Is there a mechanism for communicating to the server that the http2 implementation doesn't support push beyond parsing user agent?

Or are we just going to end up with servers pushing to chrome and it just ignoring it? That sounds even worse.




Yes there is. HTTP/2 has SETTINGS frame to communicate implementation capabilities, and SETTINGS_ENABLE_PUSH is standardized to communicate push support. Chrome will send SETTINGS_ENABLE_PUSH set to zero, so no user agent parsing is necessary and all compliant implementations should handle this transition transparently.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: