I'm doing a POST request to a rest service made with django and piston uploading a file, but when I do the request i get this (strange?) error:
[Sun Jul 04 16:12:38 2010] [error] [client 79.39.191.166] ModSecurity: Output filter: Failed to read bucket (rc 104): Connection reset by peer [hostname "url"] [uri "/api/odl/"] [unique_id "TDEVZEPNBIMAAGLwU9AAAAAG"]
What does it mean? And how can I debug it?
我认为您需要按照https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax实施CRSF保护
Output filtering is a way for an administrator to check all text that go through Apache for a specific set a strings, and then block those requests.
You have two options:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.