Lye <sy...@yahoo.com> added the comment:

Hi @matrixise,

Sorry that the example in that stackoverflow site is a dummy API server. I 
tested my code in a real API server so I can produce the error. I have 
re-tested my code with that dummy site and yes you won't able to get that 
error. To reproduce that error, you may try a valid API server, like 
'https://httpbin.org/post' . I just tested again by replacing :

my_url = "https://api.foo.com";

with 

my_url = "https://httpbin.org/post";

and able to get the same error again. Apology for not using a real API server 
in my example :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36064>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to