Python/Django “BadStatusLine” error

前端 未结 3 517
暗喜
暗喜 2020-12-15 20:35

I\'m getting a weird error that I can\'t seem to find a solution for.

This error does not occur every time I hit this segment of code, and neither does it happen for

3条回答
  •  Happy的楠姐
    2020-12-15 21:31

    Explanations from other users are right and good, but in practice you may find this useful:
    In my experience this usually happens when you are sending unquoted values to the url parameters, like values containing spaces or other characters that need to be quotes or url encoded.

提交回复
热议问题