[Fixed]-Django – Custom header to application/x-zip-compressed HttpResponse

1👍

Since hash-key is in the response, it sounds like this line is working.

resp['hash-key'] = sha_checksum

Try printing the value of sha_checksum before you assign it, to make sure it is not None.

Leave a comment