In client.go, the provided Request.Filename is resolved to an existing directory, and the needFilename flag is set to true. When the Request.Filename is later resolved from the Content-Disposition header, or URL, it is not appended to the existing directory path.
In client.go, the provided Request.Filename is resolved to an existing directory, and the needFilename flag is set to true. When the Request.Filename is later resolved from the Content-Disposition header, or URL, it is not appended to the existing directory path.
2 provides an example failing test case