Score:1

NGINX Buffer parameters causing issues with Python requests library

cx flag

'm having problems uploading files through the Python requests library when I activate the parameters below in my NGINX proxy (where the connection goes)

proxy_buffering off;

proxy_request_buffering off;

Through curl I can successfully upload:

  • It returns HTTP/200 on authentication, then HTTP/307 pro redirect through NGINX proxy and HTTP/201 to inform that the file was created successfully.

Through Python requests lib:

  • It returns HTTP/200 on authentication, then HTTP/307 and soon after the client has an error that is not recorded in the NGINX log. Does anyone know if it is necessary to add any additional parameters so that I can upload through requests with these parameters active?

Thanks

I've tried to update the library without success.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.