Fix handling of basic 201 responses

similar to the DS replies on file attachment.

Please publish to npm :)