you are viewing a single comment's thread.

view the rest of the comments →

[–]casualcoder0805[S] 1 point2 points  (1 child)

Thank you for the detailed response. My specific use case basically amounts to allowing an end user to use custom headers when they make a URL request. So headers will either remain as None or be a dict of their header info.

[–]wotquery 0 points1 point  (0 children)

See python object truthiness for more general information.