You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The detection of 404 errors (non-existent records) is based on comparing a specific string with the swarm response body. This is not very robust and it stopped working when using the latest version of swarm (1.8.10) as their response body for HTTP 404 has changed.
Response status code should be checked instead.
How to reproduce it:
Run the latest swarm locally.
Try downloading a non-existent hash via bzz-raw using the swarm-js library.
The whole markup of the response will be returned instead of an error.
The text was updated successfully, but these errors were encountered:
The detection of 404 errors (non-existent records) is based on comparing a specific string with the swarm response body. This is not very robust and it stopped working when using the latest version of swarm (1.8.10) as their response body for HTTP 404 has changed.
Response status code should be checked instead.
How to reproduce it:
The text was updated successfully, but these errors were encountered: