Welcome! Log In Create A New Profile

Advanced

Bug in handling POST then sending a file back

Saint Michael
January 07, 2024 09:44PM
I am using openresty and nginx.
I send a file to the server, which is a POST operation. Then the
server processes the file and needs to send back a different file. I
try to send a file with ng.exec("/static/file_name") and I get error
405 Not Allowed.
But if I do a 302 redirect, it works.
I imagine that Nginx feels bad about sending a file in a POST
operation, but http does not have such a limitation.
Is there a workaround for this?
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Bug in handling POST then sending a file back

Saint Michael January 07, 2024 09:44PM

Re: Bug in handling POST then sending a file back

Maxim Dounin January 08, 2024 03:52PM

Re: Bug in handling POST then sending a file back

Saint Michael January 08, 2024 04:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 466 on July 09, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready