When I use "httplib" to connect the network,Sometimes,it showed "Bad Request".

If I disconnected the network,it maybe return to normal when I connected the network again.

Why it have this problems?

HOW to solve that?

Thanks.