Setting the format in parameters has a special behavior in Rails. One side effect is respond_to will now ignore any provided Accept header in favor of the provided format. The default Rails json parser doesn't set format and it doesn't seem to me that we need to set it either.
Setting the
formatin parameters has a special behavior in Rails. One side effect isrespond_towill now ignore any provided Accept header in favor of the provided format. The default Rails json parser doesn't set format and it doesn't seem to me that we need to set it either.graphiti-rails/lib/graphiti/rails/railtie.rb
Line 65 in c557ca4