Hello all,
I am attempting to use the Ignition platform to access Azure BLOB Storage. Within Ignition, there exists a Python2.7 (Jython specifically) scripting functionality that is being used to construct the PUT and GET requests to the BLOB storage. I am unable to use the Azure.Blob.Storage methods provided by Microsoft as they have dependencies on C.
Recently, I have been able to upload and download images from the Server using a REST API approach. The issue that is arising however is that the required 'Content-Length' header is troublesome to compute dynamically. That is, when providing the byte length of the file to upload, it does not match the length interpreted by the Server. Perhaps I am misunderstanding how this number is calculated, but the documentation provided indicates that the byte length is the 'Content-Length'. Has anybody encountered something similar to this?
Note: The mismatched 'Content-Lengths' cause the request to fail and the difference between them is not small enough for a simple calculation error (I think).
Thanks,
Jonas