You are viewing a single thread.
View all comments View context
9 points

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.

permalink
report
parent
reply
1 point
*

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).

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments