HTTP API: tweak error handling
HTTP API: tweak error handling

fellipecouto96/bootlint,zacechola/bootlint,twbs/bootlint,angeliaz/bootlint,cnbin/bootlint,zacechola/bootlint,fellipecouto96/bootlint,iamphill/bootlint,techkrish/bootlint,zacechola/bootlint,evilemon/bootlint,iamphill/bootlint,angeliaz/bootlint,iamphill/bootlint,angeliaz/bootlint,freezy-sk/bootlint,2947721120/ubiquitous-octo-kumquat,fellipecouto96/bootlint,chrismbarr/bootlint,techkrish/bootlint,cnbin/bootlint,evilemon/bootlint,freezy-sk/bootlint,kkirsche/bootlint,2947721120/ubiquitous-octo-kumquat,twbs/bootlint,cnbin/bootlint,techkrish/bootlint,kkirsche/bootlint,chrismbarr/bootlint,freezy-sk/bootlint,evilemon/bootlint,chrismbarr/bootlint,kkirsche/bootlint,2947721120/ubiquitous-octo-kumquat