Proper syntax for optional header parameter for text/csv mimetype?

后端 未结 1 1665
耶瑟儿~
耶瑟儿~ 2021-02-19 00:23

According to RFC 4180:

...the presence or absence of the header line should be indicated via the optional \"header\" parameter of this MIME type...

1条回答
  •  一整个雨季
    2021-02-19 01:06

    The "header" parameter indicates the presence or absence of the header line. Valid values are "present" or "absent".

    So if you use that parameter, the full MIME type would be text/csv; header=present or text/csv; header=absent.

    0 讨论(0)
提交回复
热议问题