summaryrefslogtreecommitdiff
path: root/http-client.scm
AgeCommit message (Collapse)Author
2022-02-23Drop redundant stripping of directory name when sending filesPeter Bex
As pointed out by Siiky, intarweb already strips the directory name, so we don't have to do it here. Allows us to drop an import, which is always nice for clarity. Also update the copyright year.
2021-09-06Work around "fake" empty path by uri-common (#1448)Peter Bex
When we check to see if the underlying path must be updated to be present, we should know that uri-common is faking a path of (/ "") when the path is empty. The path normalization in uri-common could use some work though, as it never really touches the underlying uri-generic object. On the other hand, this is sort of the promise that uri-common tries to make - it never mangles the uri object unless you explicitly update something yourself.
2021-09-03Also mangle the path when sending to a proxyPeter Bex
That path should also have a trailing slash just like when requesting a regular URI. See #1781
2021-09-01Add request method to arguments inside exn for better debuggingPeter Bex
2020-04-05Change default client-software so it doesn't contain spaces in the product ↵Peter Bex
(which is disallowed by RFC)
2018-10-19Expose response object in redirect depth exceeded condition1.1Peter Bex
Thanks to Norman Gray for pointing out that the response was missing from the condition object.
2018-07-29Port http-client to CHICKEN 51.0Peter Bex