You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The content type should be 'image/png' for the /tasks/{id}/data endpoint for the get request
Current Behaviour
The current content type is a list ['image/png', None] for the /tasks/{id}/data endpoint for the get request
Possible Solution
I checked the source code and this happens because mimetypes.guess_type returns the list ['image/png', None] and instead should return mimetypes.guess_type[0]
My actions before raising this issue
Expected Behaviour
The content type should be 'image/png' for the /tasks/{id}/data endpoint for the get request
Current Behaviour
The current content type is a list ['image/png', None] for the /tasks/{id}/data endpoint for the get request
Possible Solution
I checked the source code and this happens because mimetypes.guess_type returns the list ['image/png', None] and instead should return mimetypes.guess_type[0]
Steps to Reproduce (for bugs)
Context
Using the API endpoint to get the frame in HTML in a href tag doesn't work because of the bad content type
Your Environment
git log -1
): a440ef2The text was updated successfully, but these errors were encountered: