This is neat, but I did find an error in the output pretty quickly. (Disregard the mangled indentation)
# Use the Session as a context manager
with requests.Session() as s:
s.get('https://httpbin.org/cookies/set/contextcookie/abc')
response = s.get(url) # ???
print("Cookies sent within 'with' block:", response.json())
This code creates an HTTP session, sets a cookie within that session, makes another request that automatically includes the cookie, and then prints the response showing the cookies that were sent.
I may miss the error, but could you elaborate where it is?
I tried this for some very small decompilation projects, and it was cute at best. Then I sent it a boot loader. I should have posted it on a ceral box for better results. Is someone going to suggest that I check the dissembly into git hub and watch it make a tutorial?
Comments (172) 64 threads
Show all comments
Showing thread 64 of 64
I may miss the error, but could you elaborate where it is?
Continue this thread — 1 reply
I tried this for some very small decompilation projects, and it was cute at best.
Then I sent it a boot loader. I should have posted it on a ceral box for better results.
Is someone going to suggest that I check the dissembly into git hub and watch it make a tutorial?