NOTE: we could not use the Headers class object since fetch
does not process it but treat it simply as an object, so we will in fact
lose header if we send the network request. As such we create this
type for request header purely for annotation purpose
See https://github.github.io/fetch/
NOTE: we could not use the Headers class object since
fetch
does not process it but treat it simply as an object, so we will in fact lose header if we send the network request. As such we create this type for request header purely for annotation purpose See https://github.github.io/fetch/