http icon indicating copy to clipboard operation
http copied to clipboard

Unknown MIME type: text/plain

Open Terciuss opened this issue 4 years ago • 4 comments

I am getting this error on using response.parse Unknown MIME type: text/plain How can I resolve this.

Terciuss avatar May 10 '22 15:05 Terciuss

You can't parse a text/plain response. There's nothing to parse!

tarcieri avatar May 10 '22 15:05 tarcieri

ok, I just assumed that if the parse returns content converted according to the type, then it should also understand the string response

Terciuss avatar May 10 '22 15:05 Terciuss

The only built-in support is for JSON

tarcieri avatar May 10 '22 15:05 tarcieri

ok, thanks

Terciuss avatar May 10 '22 15:05 Terciuss