Open GoogleCodeExporter opened 9 years ago
Likely caused by an issue with how Faraday encodes query parameters
(https://github.com/technoweenie/faraday/issues/182.) A fix to Faraday was
committed, but still waiting for them to cut a new gem with it included. Will
verify once it is available.
Original comment by sba...@google.com
on 12 Nov 2012 at 7:23
Thanks
Original comment by michael...@gmail.com
on 13 Nov 2012 at 5:11
We've had to fork Faraday to get this working for us. With the new Faraday, you
can use:
Faraday::Utils.default_params_encoder = Faraday::FlatParamsEncoder
to specify a parameter encoder that doesn't try to treat multiple occurrences
of the same param as nested params and insert []. This required hacking the
version number back to 0.8.x as both google-api-client and signet specifically
depend on ~> 0.8.4 and ~> 0.8.1 respectively.
However, when the new Faraday is cut, if both of those other gems are updated
to use Faraday 0.9.x, that line is all that's required to get things working.
Original comment by simoneau.louis
on 9 Jan 2013 at 8:49
The new FlatParamsEncoder does indeed fix reports.
However, when Faraday 0.9 is released this option should be set at the
APIClient level, that is, not changing the default behavior of Faraday.
Original comment by damian.j...@gmail.com
on 8 Apr 2013 at 5:34
Please see https://github.com/google/google-api-ruby-client/issues/35 for
further updates
Original comment by sba...@google.com
on 8 Apr 2013 at 8:39
Oh! It's great to know you guys use GitHub. :)
Original comment by damian.j...@gmail.com
on 8 Apr 2013 at 10:22
Original issue reported on code.google.com by
michael...@gmail.com
on 8 Nov 2012 at 3:36