Parsing HTTP Request/Response Headers #218
-
| 
         I wish to do some analysis on some HTTP Response Headers, specifically looking at access-control headers.  It would make sense to try to put all headers into a navigable JSON, with the ultimate aim of navigating and validating the HTTP response headers with  Here's a typical  I have got as far as using  A more expansive, generic approach would be parsing both curl --verbose Request/Response headers, which are indicated by a > or <. Obviously, the ultimate solution would be for cURL to present HTTP request/response headers in json, but in the interim, this feels like a job for the mighty jc. I was hoping to pre-parse prior to sending to jc, because I don't have any python-skills to write a custom parser in python. Does anyone have any advice as to pre-parse cURL  Thanks!  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
| 
         Hi there! Yeah, this looks pretty cool. I did a couple quick tests and found that the Key/Value parser ( and Though a   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I'm currently working on an HTTP Header parser and a  This is currently in the  https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/http_headers.py https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/curl_head.py  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         The   | 
  
Beta Was this translation helpful? Give feedback.
The
curl-headandhttp-headersparsers were released injcv1.25.0