use urlopen context manager to handle connection close in a timely manner by jubrad · Pull Request #47 · kevinsteves/pan-python
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 100
Conversation
kevinsteves added a commit that referenced this pull request
Jan 13, 2023#47 from Justin Bradfield. 1. Use urlopen() as a context manager 2. Immediately read() response 3. Set object 'pan_body' attribute to read() result
jubrad
deleted the
close-connection
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters