Xuanwo commented on issue #2091:
URL: 
https://github.com/apache/incubator-opendal/issues/2091#issuecomment-1519099651

   > I think it would be even better to add a new error type for HTTP 304, 
instead of mapping it to error code 412, because 304 is not an error status 
code at all.
   
   `ErrorKind` is not part of `StatueCode`, it's the way OpenDAL informs users 
what happened when services not behavior as expected. Users should handle this 
error when they set `if_match` or `if_none_match`. It doesn't make sense to add 
an extra error code for that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to