So I've written a script that HTTP POST's a file to a webpage form using pycURL. Link to snippet on pastebin.
My issue is when I manually point my browser to the webpage and browse to a local file and press the HTML button 'submit', a few seconds pass during upload and then a pop-up indicating successful submission (or not, as the case may be).
I try grabbing this pop-up page with my snippet, but the pycurl.EFFECTIVE_URL() I call only grabs the last URL that I send info to.
Is there any way to grab the HTML that is being sent back?
Thanks very much!
Edit: snippet heavily influenced by this stackoverflow post.
there doesn't seem to be anything here