Jump to content

stefanos90

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About stefanos90

  • Rank
    Newbie
  1. Today I was talking about a request with my team. One member suggested to use if response.ok: I referred to the w3schools docs and the description of the "ok" was incorrect. At w3schools is mentioned: "ok: Returns True if status_code is less than 200, otherwise False" The correct use from the official documentation mention: Returns True if status_code is less than 400, False if not.
×
×
  • Create New...