add options parameter

When using this with S3 it complained that a query string was present with a POST form.