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

add "rds_csv_quote_string" command #3

Open
lloydzhou opened this issue May 10, 2014 · 1 comment
Open

add "rds_csv_quote_string" command #3

lloydzhou opened this issue May 10, 2014 · 1 comment

Comments

@lloydzhou
Copy link

can add one command to control this module to quote the string field or not.
so if using this command and command "rds_csv_field_name_header", we can server binary data from RDS upstream (eg: image).

location ~ '/cats/image/([0-9]+)' {
    drizzle_query 'select img from cat_image where id=$1 limit 1';
    drizzle_pass backend;
    rds_csv on;
    rds_csv_quote_string off;
    rds_csv_field_name_header off;
    rds_csv_content_type 'image/jpeg';
}

i have write simple code on the fork lloydzhou@5c26493.

@agentzh
Copy link
Member

agentzh commented May 11, 2014

@lloydzhou Thank you for your contribution! Will you create a proper github pull request with your commit? See https://help.github.com/articles/creating-a-pull-request Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants