-
Notifications
You must be signed in to change notification settings - Fork 4.1k
ability to add headers easily #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 I would like to set the content type. |
I'm thinking about the best (cleanest) way to implement this, I will get back to you guys. |
Any suggestions welcome of course! :) |
@Simperium added "client-wide" header support in this commit, which could be useful for you guys: I'm planning of adding per-request custom headers since these are more flexible |
+1.. I think the cleanest way to do it would be to build it into RequestParams |
I agree with shnhrrsn. Wow. what a name ;-) |
+1, client-wide or per-request. This would be really useful. |
+1 - this feature is really important since i've to send json encoded body to server side. |
@loopj any roadmaps for this feature? |
+1 for this feature. |
1 similar comment
+1 for this feature. |
As of now, I see Header[] param array for all |
I noticed reading through the code that changing the user-agent is exposed, but changing the adding headers is not. That would be awesome.
The text was updated successfully, but these errors were encountered: