Is header the same thing as metadata?
Asked Answered
D

2

7

Metadata is "data about data" and the header in files such as HTML, WAV, MP3, text, etc contain a header, which defines the data within the file. So is the file metadata the same thing as the file header?

Doubleness answered 1/3, 2015 at 1:13 Comment(0)
H
5

Different headers for different file formats may contain [some of] the metadata. However, the header itself is not "the" metadata but rather "where"1 some such information may be found.

The metadata itself would be the "image size", "ID3 tags", "where the picture was taken", or "author", etc. - independent of where or how such is stored in a particular file.


1 Metadata can also be located in other structures throughout the file depending on format and how meta meta is (eg. while the specific encoding used is metadata - and required for processing - it is not often associated as such), etc.

Higherup answered 1/3, 2015 at 1:24 Comment(0)
W
0

So is the file metadata the same thing as the file header?

no, e.g. in windows, you can right click a file then click properties to read certain properties of that file like file size, file name, file extension etc. that is the additional data (i.e. meta data) of that file

so when you send a request/response (for a resource) by default some additional data will be sent along with it & some additional data is sent by the developer explicitly, that is what we call header

if you are e.g. sending a file in the request/respone then the header you set is the meta data about the request/response object not the meta of the file

Wherewith answered 5/2, 2024 at 6:48 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.