Right now, we only upload URLs to PhotoDNA. This makes it impossible to debug locally ( PhotoDNA can't access a local URL ) and generally makes the service more flaky. To do this we need to:
[x ] Create an additional parameter to the maintenance script (--send-image-contents, default to `true) that allows the user to specify uploading as images instead of URLs
All the user has to do to have an image within their database, and give the name of the image with the --file-name parameter, which directs the program to use just that one file set in --file-name
[ x] Update the handleMedia function to allow processing an image
[x ] modify the request to accept an image OR a url and prepare the request body appropriately
This is done in T339988