summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2024-09-13Port http-client to CHICKEN 6HEAD2.0masterPeter Bex
2024-06-28Check for closed ports when writing chunks and give a hint to the user1.2.2Peter Bex
This makes it a bit more obvious what happened in cases like #1838, reported by Woodrow E Douglass. While at it, add some more test cases for this particular case, but also for retry-attempts, as this is also affected when retry is allowed for non-idempotent requests (which is pretty uncommon, but possible)
2024-06-27Allow raw string data instead of file for multipart content (#1838)Peter Bex
This allows one to pass in a filename for the data.
2024-06-27Fix broken test for string portsPeter Bex
For some reason the hardcoded length was incorrect. It makes more sense to not hardcode it, as the exact value might differ depending on the boundary etc.
2022-03-15Try to determine multipart content length for string portsPeter Bex
This makes it slightly more reliable for certain servers which absolutely require content length. An alternative would be to have an explicit API for sending static string contents. This could be in addition to this approach, because this should always be a net win.
2019-05-05Fix tests with CHICKEN 5.0.21.1.1Peter Bex
Keywords can't be (ab)used as identifier anymore, so we can't bind expression: with let-syntax. Instead, simply use the plain symbol.
2018-07-29Port http-client to CHICKEN 51.0Peter Bex