8000 "<meta> 标签的 http-equiv 属性覆盖 HTTP 回应的头信息字段" 说法不妥 · Issue #32 · wangdoc/html-tutorial · GitHub
[go: up one dir, main page]

Skip to content

"<meta> 标签的 http-equiv 属性覆盖 HTTP 回应的头信息字段" 说法不妥 #32

@junyiz

Description

@junyiz

When the http-equiv attribute is specified on a meta element, the element is a pragma directive. You can use this element to simulate an HTTP response header, but only if the server doesn't send the corresponding real header; you can't override an HTTP header with a meta http-equiv element.

W3C 的对 http-equiv 如上定义来看,如下的覆盖的说法不妥

标签的http-equiv属性用来覆盖 HTTP 回应的头信息字段

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0