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
Environment:
Python2.7.10
CentOS7
My Case:
django InMemoryUploadedFile object as in passed to sendfile.
i know this object is not regular file object but has fileno method that sendfile's interface definition.
if a regular is a MUST, can the request like my case be implemented? thanks
The text was updated successfully, but these errors were encountered:
I am not sure I understand your question.
For clarity, pysendfile has nothing to do with Django. I point this out because I know in the django world there is something call "sendfile" or "x-sendfile" but it's something unrelated with the pysendfile project.
@giampaolo thanks for your clarification. I am sorry you did not clearly understand what i meant as lack of more details. However, through my search, InMemoryUploadedFile object is of python BufferedIO type (BytesIO Class) without getting fd from fileno call but TemporaryUploadedFile is ok.
Environment:
Python2.7.10
CentOS7
My Case:
django InMemoryUploadedFile object as in passed to sendfile.
i know this object is not regular file object but has fileno method that sendfile's interface definition.
if a regular is a MUST, can the request like my case be implemented? thanks
The text was updated successfully, but these errors were encountered: