When requesting some data from a server it's possible to get 304 Not Modified results. However, Elm seems to categorise those as Ok newData, rather than an Err with the 304 code.
Is there a way in Elm to know when a request returned a 304 Not Modified so I can handle that specific case? I for example do not want to update my model with new data if it wasn't modified so no new render happens either.
When requesting some data from a server it's possible to get 304 Not Modified results. However, Elm seems to categorise those as
Ok newData, rather than anErrwith the 304 code.Is there a way in Elm to know when a request returned a 304 Not Modified so I can handle that specific case? I for example do not want to update my model with new data if it wasn't modified so no new render happens either.