zweifisch / ob-http

make http request within org-mode babel
GNU General Public License v3.0
256 stars 30 forks source link

Add ability to get all headers #36

Closed robbyoconnor closed 6 years ago

robbyoconnor commented 6 years ago

I have a use-case where I need to be able to look at ALL headers...so it'd be useful to be able to get those...even the raw output would be nice similar to curl -v

zweifisch commented 6 years ago

Hard to achieve with ob-http, you could just use sh

#+BEGIN_SRC sh
curl -v URL
#+END_SRC
ewestbrook commented 6 years ago

Using :pretty no works for me.

#+BEGIN_SRC http :pretty no
GET http://localhost/
#+END_SRC