Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't discard query string for usage queries #1312

Open
wants to merge 1 commit into
base: 2.0
Choose a base branch
from

Commits on May 5, 2016

  1. Don't discard query string for usage queries

    The riak_cs_wm_usage module expects parameters to be passed via query string.  Using s3curl a request would be made as such:
    
    ```
    s3curl.pl --id admin -- -s -x localhost:8080 -v "http://s3.amazonaws.com/riak-cs/usage/T0FMWBBK6-P-LJFYHWBG?b&s=20160505T1200&e=20160505T180000Z"
    ```
    
    Currently riak_cs_s3_rewrite:rewrite_path/4 discards the query string for all URIs starting with "/riak-cs", so no results are returned.  This PR would include the query string when the URI is "/riak-cs/usage"
    Joe Caswell committed May 5, 2016
    Configuration menu
    Copy the full SHA
    592bc3d View commit details
    Browse the repository at this point in the history