I have a question regarding how to use this with S3 (or other services that don't really have an action).
I've been using the code as proposed in #12 with some changes and I've been able to requests plain text files from S3, but it doesn't really feel right, mainly because AwsService basically expects one to use performAction and because to make it work with other files I'd have to add all captured headers to the response, effectively creating something that somewhat resembles a proxy.
Wouldn't it make more sense to use this library only for the signing of the request and just proxy_pass the actual request? That would make the code simpler and fix the header issue as well.
Does anyone have any experience with this?
I have a question regarding how to use this with S3 (or other services that don't really have an action).
I've been using the code as proposed in #12 with some changes and I've been able to requests plain text files from S3, but it doesn't really feel right, mainly because
AwsServicebasically expects one to useperformActionand because to make it work with other files I'd have to add all captured headers to the response, effectively creating something that somewhat resembles a proxy.Wouldn't it make more sense to use this library only for the signing of the request and just
proxy_passthe actual request? That would make the code simpler and fix the header issue as well.Does anyone have any experience with this?