这是indexloc提供的服务,不要输入任何密码
Skip to content

User Preference Media Features Client Hints Headers #30

@tomayac

Description

@tomayac

Introduction

HTTP Client Hints defines an Accept-CH response header that servers can use to advertise their use of request headers for proactive content negotiation. This proposal introduces a set of user preference media features client hints headers like Sec-CH-Prefers-Color-Scheme, which notify the server of user preferences that will meaningfully alter the requested resource, like, for example, through the currently preferred color scheme. These client hints will commonly also be used as critical client hints via the Critical-CH header.

Read the complete Explainer or the spec draft.

Feedback

We welcome feedback in this thread, but encourage you to file bugs in the repo.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions