Skip to content

SwiftClientObject.DeleteObjects method fails with "method not allowed" error. #9

@rfeezel

Description

@rfeezel

The DeleteObjects method specified "HttpMethod.Delete" when trying to make a "bulk-delete" request. According to the documentation this should be "HttpMethod.Post".

After changing to use POST the call fails with:
https://hostname.com/v1/AUTH_photoapp?bulk-delete Error: System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions