Implement functionality in the requests_helper module to interact with a computer vision API for image processing. The module must include two functions: post_image and get_read_result.
This function should make a POST request to the given url with the provided headers and the binary image data from image_file.
If the POST request is successful (HTTP status code 202), the function should return a dictionary containing the operation location extracted from the response headers (key: "Operation-Location").
If the POST request fails with a 500 error, the function should return a dictionary containing:
"status_code": the HTTP status code (500)
"code": the error code from the JSON response (e.g., "FailedToProcess")
"message": the error message (e.g., "The analyze request could not be started due to a cluster-related issue. Please resubmit the document for processing.")
This function should make a GET request to the given url with the provided headers.
If the request is successful (HTTP status code 200), the function should return the parsed JSON response containing the analyze results.
If the request fails (e.g., with a 500 error), the function should return a dictionary containing the error code and the message extracted from the JSON response (e.g., { "code": "fail", "message": "because" }).
Ensure that your implementation is located in the /app/ directory. The provided tests must pass with your implementation.