themusicman@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoLemmylemmy.worldimagemessage-square78fedilinkarrow-up1452arrow-down110cross-posted to: 196@lemmy.blahaj.zone
arrow-up1442arrow-down1imageLemmylemmy.worldthemusicman@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square78fedilinkcross-posted to: 196@lemmy.blahaj.zone
minus-squareMysteriousSophon21@lemmy.calinkfedilinkEnglisharrow-up9·1 year agoNo, it’s probably when the app is expecting a json but the server returns an html, which usually happens in case of 502 errors.
minus-squarebarsoaplinkfedilinkEnglisharrow-up1·edit-21 year agoYou really shouldn’t be expecting any content type when you get any code but a 200. If anything you should expect HTML, then, possibly plain text.
No, it’s probably when the app is expecting a json but the server returns an html, which usually happens in case of 502 errors.
You really shouldn’t be expecting any content type when you get any code but a 200. If anything you should expect HTML, then, possibly plain text.