{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/rclone/debughttp","name":"github.com/rclone/debughttp","description":"Package debughttp provides an http Transport or Client which can be\nused for tracing HTTP requests for debugging purposes.\n\nThis can be used for a quick bit of debugging.\n\nInstead of using http.Get or client.Get, use this\n\nThis will log something like this\n\nIf you want to see the bodies of the transactions use this\n\nNote that this redacts authorization headers by default.\n\nIf you want more control over what is logged and what isn't logged\nthen you can use the Options struct, eg\n\nIf you are integrating this with code which has its own logging system\nthen you will want to pass in the Logf parameter to control where\nthe logs are sent.\n\nEvery Go library which does HTTP transactions on your behalf should\ntake an http.Client or allow the setting of an http.Transport\nreplacement. (If you find one which doesn't, then report an issue!)\n\nTo create a new Transport use the NewDefault function to base one\noff the default transport or the New function to base one off an\nexisting transport.\n\nThis means that you can use this library for debugging other people's\ncode. For example this is how you add this library to the AWS SDK\n\nIf you do this you can see exactly what requests are sent to and from\nAWS.\n\nIf dumping bodies is enabled the bodies are held in memory so large\nrequests and responses can use a lot of memory.\n\nThe Accept-Encoding as shown may not be correct in the Request and\nthe Response may not show Content-Encoding if the Go standard\nlibraries auto gzip encoding was in effect. In this case the body of\nthe request will be gunzipped before showing it.","version":"v0.0.0-20221231123907-89360340d91c","softwareVersion":"v0.0.0-20221231123907-89360340d91c","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/rclone/debughttp","issueTracker":"https://github.com/rclone/debughttp/issues","url":"https://github.com/rclone/debughttp","programmingLanguage":{"@type":"ComputerLanguage","name":"Go"},"dateCreated":"2020-05-03","dateModified":"2022-12-31","datePublished":"2022-12-31","copyrightYear":2020,"downloadUrl":"https://proxy.golang.org/github.com/rclone/debughttp/@v/v0.0.0-20221231123907-89360340d91c.zip","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/rclone/debughttp#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","developmentStatus":"active","sameAs":["https://pkg.go.dev/github.com/rclone/debughttp"],"https://www.w3.org/ns/activitystreams#likes":14,"https://forgefed.org/ns#forks":1}