Well, this is a Django REST Framework group, so you're not going to find a 
lot of Flask help here.

With that said, yes this should be possible in any framework, your biggest 
problem is going to be how long it takes to process the file. If it takes 
much longer than several seconds you will need to return a 202 response 
with some sort of object that says what the status is on a different 
endpoint. You will need to poll this endpoint and eventually it should 
return to you a 303 and redirect you back to where you can pick up the 
processed file. This is the way the RFCs explain how to do it.

https://tools.ietf.org/html/rfc7231#section-6.3.3

and

https://tools.ietf.org/html/rfc7231#section-6.4.4

~Carl

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/d27cf273-42f3-4c4e-89a6-d9c269b998d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to