rodrigomanhaes / rasper_client

Ruby client for rasper_server
MIT License
4 stars 2 forks source link

Problem to upload multiple images #2

Closed thiagocifani closed 10 years ago

thiagocifani commented 10 years ago

Hello, I was trying to use rasper_client to upload my images to rasper_server and add those in my report, but when I try to upload more than 2 images I got a error saying that "exceeded available parameter key space". Do you have any idea how could I solve this problem? I am making some research about multipart upload, but I think it will change a lot of things in rasper_client, Am I right?

thanks for your great work

rodrigomanhaes commented 10 years ago

Hello @thiagocifani,

Key space limit is defined by rack and can be configured. I've just added a commit to rasper_server (rodrigomanhaes/rasper_server@01b07fed25483c57448ab335123951d5b6e3dbb2) with an example file for this configuration. However, this can bring some vulnerability to your app.

As an option, you can also upload each image separately.

Thank you for using rasper_client and rasper_server!

thiagocifani commented 10 years ago

How can I upload each image separately through you api? is there a way to do it?

rodrigomanhaes commented 10 years ago

This feature already exists but was undocumented. I've just fixed this. I'm closing the issue, ok?