Homewrite.as

Add error handling for HTTP response codes other than 200.

Authored by qwazix on Jul 14 2019, 12:26 PM.

Description

Add error handling for HTTP response codes other than 200.

This works also for local errors such as no connection as browsers
return a response code of 0 in that case

Details

Committed
qwazixJul 14 2019, 12:26 PM
Parents
rWF6cca097de0e5: Needs testing: frontend (javascript) code for image uploads.
Branches
Unknown
Tags
Unknown
References
image-upload-drag