Haruhiko Kobayashi

Results 5 comments of Haruhiko Kobayashi

Hi @bsh185 I got a same issue. If your rails app cookie serializer is using `marshal`, maybe you should parse data using marshal instead of JSON.parse. http://guides.rubyonrails.org/action_controller_overview.html#cookies https://www.npmjs.com/package/marshal ``` var...

You don't care AppVeyor because it builds failed before this PR .

Can you add this behavior spec into `open-test behavior`? https://github.com/hmatsuda/rails-transporter/blob/master/spec/rails-transporter-spec.coffee#L689-L745

@alvinschur Here's my solution. 1 Create faraday middleware to parse JSON data ``` module ApiResponseHandler class UnauthorizedError < StandardError; end class CustomerParser < ::Faraday::Response::Middleware def call(request_env) @app.call(request_env).on_complete do |response_env| json...

I don't know best practice how about her's error handling but I'm handling 40x and 50x errors in one middleware(extract gem) like above example code. If you have serval client...