Http Request with etag Support

#1

i wonder if there is an http request function with etag support.

My goal is that the file will only be downloaded if the etag changes.

in principle the node must save the etag value after the first download and then perform the request with an "If-None-Match" header.

Any help is welcome.

#2

You can set the headers using msg.header - does that help? You would have to form the etag header yourself of course.