Skip to content

Update SimpleBITSServer to run on Python 3.9#1

Open
ag-pacier wants to merge 2 commits intoSafeBreach-Labs:masterfrom
ag-pacier:master
Open

Update SimpleBITSServer to run on Python 3.9#1
ag-pacier wants to merge 2 commits intoSafeBreach-Labs:masterfrom
ag-pacier:master

Conversation

@ag-pacier
Copy link

Recently saw this posted on Twitter and wanted to learn more about BITS and try my hand at updating a 2.7 script to 3+.

Tested uploads locally on a Windows 10 PC running Python 3.9.0 and was able to upload a cat picture successfully. I recognize this is from ~5 years ago but this is baby's first PR so I thought I would try it any way. Welcome any comments or suggestions!

Changed imports, changed how headers are handled, ensured strings handled the way Python 3 advises
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant