Option for Accept header #27

Closed
dalelane opened this Issue Mar 8, 2012 · 2 comments

Comments

Projects
None yet
2 participants

dalelane commented Mar 8, 2012

Fantastic tool - thanks!

It'd be useful if for GETs, the -j/--json option would set Accept:application/json in the same way that it sets Content-Type for PUTs/POSTs.

I know I can add the Accept header myself afterwards and that works fine - I'm just thinking it'd save me some typing as it's something I'd need to add to every GET request otherwise.

Owner

jakubroztocil commented Mar 8, 2012

+1 it will soon be added

Owner

jakubroztocil commented Apr 14, 2012

Fixed in #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment