Novice question re. BaseHTTPRequestHandler and receiving data...
I've been using BaseHTTPRequestHandler to receive JSON strings passed as data to my URI. I now need to receive both JSON strings and ascii files. How can I tell that I've received both JSON data and a separate flat file? How do I access the data in the file?
What if I've received multiple files?
BTW, I just ran a test by calling my URI from Postman & see the following headers:
headers: Host: localhost:6081
Content-Type: application/x-www-form-urlencoded
User-Agent: python-requests/2.2.1 CPython/3.4.0 Linux/3.13.0-35-generic
Accept: */*
Accept-Encoding: gzip, deflate, compress
Content-Length: 403
Thank you!
Ben