Skip to content
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

An exercise for the reader - HTTP Archive files #3

Closed
johndpope opened this issue Nov 4, 2016 · 1 comment
Closed

An exercise for the reader - HTTP Archive files #3

johndpope opened this issue Nov 4, 2016 · 1 comment

Comments

@johndpope
Copy link

Firstly - awesome job on this project. I was thinking the other week of writing something similar.
My use case was reading in http archive files in swift.
(I ended up abandoning using Decodable because it was taking too long to get the data structure right and used SwiftyJSON instead. )
https://github.com/johndpope/HAR-Reader

Presumably you've used Charles proxy software on mac?
https://gist.github.com/jjarava/5f26806bba75d052c41a

It's possible to record stuff using this tool - and then save the file as a HAR file.
This format hasn't really caught on - but there's some software around that could leverage this stuff - and save everyone a bunch of time.
AliSoftware/OHHTTPStubs#204

This HTTP ARchive has a specification - and it's probably the most complicated json file you're ever going to see. It includes all the communications from an API - nested in yet more json. The file format is .har and there are plenty around - if you have a taste to try this - could be a nice hack.

I could use your help on this -
grpc/grpc-swift#2

@ijoshsmith
Copy link
Owner

Thanks for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants