aboutsummaryrefslogtreecommitdiffhomepage
path: root/http/client
Commit message (Collapse)AuthorAge
* Normalize URL query string before executing HTTP requestsGravatar Frédéric Guillot2019-12-26
| | | | | | | - Make sure query strings parameters are encoded - As opposed to the standard library, do not append equal sign for query parameters with empty value - Strip URL fragments like Web browsers
* Ignore invalid content typeGravatar Frédéric Guillot2019-09-18
|
* Make HTTP Client timeout and max body size configurableGravatar Frédéric Guillot2019-06-02
|
* Make UTF-8 the default encoding for XML feedsGravatar Peter De Wachter2019-01-02
| | | | | | | | | | | | | | | | Consider the feed http://planet.haskell.org/atom.xml - This is a UTF-8 encoded XML file - No encoding declaration in the XML header - No Unicode byte order mark - Served with HTTP Content-Type "text/xml" (no charset parameter) Miniflux lets charset.NewReader handle this. The charset package implements the HTML5 character encoding algorithm, which, in this situation, defaults to windows-1252 encoding if there are no UTF-8 characters in the first 1000 bytes. So for this feed, we get the wrong encoding. I inserted an explicit "utf8.Valid()" check, which fixes this problem.
* Ignore JSON feeds from EnsureUnicode()Gravatar Frédéric Guillot2018-12-12
|
* Update XML encoding regex to take single quotes into considerationGravatar Frédéric Guillot2018-12-12
|
* Make sure slice is not out of range when reading XML prologGravatar Frédéric Guillot2018-11-24
|
* Handle more encoding conversion edge casesGravatar Frédéric Guillot2018-10-29
|
* Simplify feed parser and format detectionGravatar Frédéric Guillot2018-10-14
| | | | | - Avoid doing multiple buffer copies - Move parser and format detection logic to its own package
* Add missing package descriptions for GoDocGravatar Frédéric Guillot2018-10-08
|
* Add the possibility to override default user agent for each feedGravatar Patrick2018-09-19
|
* Use canonical importsGravatar Frédéric Guillot2018-08-24
|
* Update user agent with new website URLGravatar Frédéric Guillot2018-07-28
|
* Add specific 404 and 401 error messagesGravatar Frédéric Guillot2018-06-30
|
* Add new fields for feed username/passwordGravatar Frédéric Guillot2018-06-19
|
* Disable keep-alive for HTTP clientGravatar Frédéric Guillot2018-06-19
|
* Close HTTP response body even for failed requestsGravatar Frédéric Guillot2018-06-19
|
* Make sure to close request body in HTTP clientGravatar Frédéric Guillot2018-04-29
|
* Move HTTP client to its own packageGravatar Frédéric Guillot2018-04-28