{"repo":"trusche/httplog","free":true,"listed":false,"github":"https://github.com/trusche/httplog","clone":"git clone https://github.com/trusche/httplog.git","description":"Log outgoing HTTP requests in ruby","language":"Ruby","stars":827,"topics":["httplog","ruby","logging","http","apis","debugging","rails"],"license":"MIT","category":"dev-tools","readme_excerpt":"httplog Log outgoing HTTP requests made from your application. Helps with debugging pesky API error responses, or just generally understanding what's going on under the hood. Requires ruby = 2.6. This gem works with the following ruby modules and libraries: Net::HTTP v4+ Ethon Excon OpenURI Patron HTTPClient HTTParty HTTP These libraries are at least partially supported, where they use one of the above as adapters, but not explicitly tested - YMMV: Faraday Typhoeus In theory, it should also work with any library built on top of these. But the difference between theory and practice is bigger in practice than in theory. This is very much a development and debugging tool; it is not recommended to use this in a production environment as it is monkey-patching the respective HTTP implementations. You have been warned - use at your own risk. Sponsors HttpLog is kindly sponsored by SerpApi. Scrape Google and other search engines from their fast, easy, and complete API. And use httplog to debug your client if you're using Ruby 😉 They're a Ruby on Rails shop and always looking for good developers. Installation Usage By default, this will log all outgoing HTTP requests and their responses to $stdout on DEBUG level. Notes on content types Binary data from response bodies (as indicated by the Content-Type header)is not logged. Text data ( text/ and most application/ types) is encoded as UTF-8, with invalid characters replaced. If you need to inspect raw non-UTF data exactly as sent over ","default_branch":null,"files":null,"tree":[],"storefront":"/r/trusche","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/trusche/httplog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}