Http.fs
Http.fs copied to clipboard
Add request header If-Unmodified-Since
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since
@cmeeren the api allows you to set a custom header in your request. Have you tried?
Yes, that works. Ideally I'd like to set a DateTimeOffset
and have the header value formatted automatically. Currently I have to use ToString("R")
manually. It's not too bad, of course, but an API accepting DateTimeOffset
directly would be better. :)