Upload type and name should go in query string.
Keep supporting non-buffer inputs to the write stream.