418
Lemmy (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] MysteriousSophon21@lemmy.ca 9 points 1 year ago

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.

[-] barsoap@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

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 but that's a subset (given a loose enough definition of html).

this post was submitted on 04 Jul 2023
418 points (97.7% liked)

Programmer Humor

32042 readers
1366 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS