Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Headers removed when using request_serializer :json #78
I need to post to a service that expect body to be in json format but also this service expect headers like:
If I don't use the
I'm not sure what I'm missing here, if this is the right behavior or if this is a bug.
Seems like issue is that
In Obj-C, you have to be very explicit about which serializer you're configuring headers for so you wouldn't even be able to call the equivalent of
I'm not sure whether order mattering in the DSL is truly a "bug" (or just a vicious gotcha) but I'll definitely throw together a PR to clarify the documentation.