sqlite-http icon indicating copy to clipboard operation
sqlite-http copied to clipboard

Add HAR (HTTP Archive) Compatibility

Open asg017 opened this issue 4 years ago • 0 comments
trafficstars

  • [ ] Export a do table to HAR blob
  • [ ] Import a HAR file to a do table
  • [ ] Create HAR in scalar function.
-- add page, creator info into meta column
select writefile('my-archive.har',  http_to_har('select * from archives'));

-- TODO: should support pages?
select * from http_har(readfile('my-archive.har'), 'creator_name');

select writefile('my-archive.har', http_get_har(url));
select writefile('my-archive.har', http_post_har(url, body));
select writefile('my-archive.har', http_do_har(method, url, body));

asg017 avatar Oct 20 '21 19:10 asg017