414 Request-URI Too Large from :format => :file
Opened this issue · 3 comments
I'm graphing 3 months worth of data and it exceeds the URI length allowed by HTTP, creating a 414 Request-URI Too Large exception. googlecharts should use a POST request when the format is writing to a file which increases the supported URI length from 2K to 16K.
Valid bug and valid suggestions, however if the image is being called from within an html page it won't work. guess we should add a check and a POST request when the file format is requested.
Can you provide a patch by any chance?
I have started working on a patch.
Patch complete with zero public interface changes. Specs pass.
http://github.com/cgriego/googlecharts/commit/5b6d9908f7ded1baa12e6789c542e174c69fecac
There's a couple of other commits here for your consideration.
http://github.com/cgriego/googlecharts/commits/file-post