20

Oh my god, document your god damn API so I know what to expect! So many bloody edge cases!

Comments
  • 0
    if !len(results):
    return "", 404

    My first api had a bunch of one-offs like that. If it makes anyone feel better I spent hours trying to debug and being mystified at some of my own responses, interpreting them differently than I had intended.
Add Comment