socketry / multipart-post

Adds multipart POST capability to net/http
MIT License
293 stars 72 forks source link

Improve error message #76

Closed Lewiscowles1986 closed 3 years ago

Lewiscowles1986 commented 3 years ago

Description

Changes error message if outbuf is frozen.

This will not fix internal changing of outbuf to "" (frozen string), but is for notifying consumers of the library about requirements for the arg (if supplied as non-nil)

Types of Changes

Testing

ioquatix commented 3 years ago

Doesn't outbuf.replace("") fail immediately if outbuf is frozen? Is there any point for us to do this explicitly?

Lewiscowles1986 commented 3 years ago

I Closed this before the comment. This one is sunk.