Closed decolector closed 8 years ago
I too would like to know.
There is currently no way of doing this, but it shouldn't be too hard to add. I warmly welcome pull requests, no matter what state they're in :)
@runemadsen I think I would not have this problem if I knew how to do this myself .-.
The addHeader method does that. For instance: get.addHeader("Accept", "application/json"); before calling the send() method.
I believe this is all set now, if not file a new issue. thanks all!
I think he mentioned editing and removing, not just adding.
I don't know if this is the right place to post this. Here it goes anyway.
Is there any method to add / remove / edit the request headers before sending it ?
Thanks!