Releases: gildas/go-request
Releases · gildas/go-request
Bug fixes and improvements
- When request.Send needs to send the request again, it rewinds its io.Reader properly.
- It also means the given io.Reader must be io.Seeker for request to be attempted more than once
- use reflect less
- request.Send can send byte slices as application/octet-stream
Use the new errors
v0.7.5 Release 0.7.5
Bug fixes
Support for http.Transport
This allows to add some TLS configuration, for example
Encryption/Decryption
Content
is now able to encrypt or decrypt its data.
For now, we support only the AESCTR
algorithm (AES Block in counter mode).
Marshal/Unmarshal of Content
So content can be saved, sent to other medium, etc.
The content data is base64 encoded.
Also the Content Size was changed to uint64 as there are no negative sizes...
Support for Compressed Data
Request can now receive responses with compressed data (gzip)
Bug fixes
Removed ContentReader
Use Content.Reader()
instead