Closed rjanvier closed 5 years ago
Shouldn't this belong to https://github.com/actix/actix-web?
Yes, it should, @rjanvier I'd like to transfer the issue
On the issue topic: I don't remember details right now, but the request/responses from StaticFiles
should be no different from regular ones. I'd need to check it, but you can try to use logging middleware to see the outgoing and incoming requests
this should work in 1.0
Since
StaticFile
must be registered withApp::handler()
it seems impossible to make it work with the full featured CORS middleware (by "full featured" I mean the one that handle the 'OPTION' preflight)I have tried this, obviously without success
Does anyone ever succeed to manage something like this? thanks.