Kong / Kong/insomnia

[Bug] Failed to parse multipart answer

Open
#1,793 3 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

- Insomnia Version: 7.0.3
- Operating System: Ubuntu 18.04

## Details

Insomnia fails to parse a multipart request from Riak KV.
Error message: Failed to parse multipart response: unsuported content type.

I don't understand the error, because the content type is "multipart/mixed" as it should be for a multipart response ...

Here is the response from the server:
---------------------------
HTTP/1.1 200 OK
Server: MochiWeb/1.1 WebMachine/1.10.9 (cafe not found)
Expires: Wed, 20 Nov 2019 15:24:40 GMT
Date: Wed, 20 Nov 2019 15:14:40 GMT
Content-Type: multipart/mixed; boundary=KJiQjLJ7BDzBU4cACAxVtZt7uQ6
Content-Length: 503

--KJiQjLJ7BDzBU4cACAxVtZt7uQ6
Content-Type: multipart/mixed; boundary=MKpyklirKmvywgdoHoLzCJYRBt3

--MKpyklirKmvywgdoHoLzCJYRBt3
X-Riak-Vclock: a85hYGBgzGDKBVI8ypz/fr7aX3SWgcFPMYMpkSmPlWHiYc/rfFkA
Location: /riak/xy/k1
Content-Type: application/json
Link: ; rel="up"
Etag: 4VhP5XnU73GwP2fFuBvV6p
Last-Modified: Wed, 20 Nov 2019 14:02:57 GMT

{"v1": "val"}
--MKpyklirKmvywgdoHoLzCJYRBt3--

--KJiQjLJ7BDzBU4cACAxVtZt7uQ6--

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with the supplied Riak KV HTTP response, especially its nested multipart/mixed boundaries. Done means the response is accepted and parsed instead of producing the “unsupported content type” error; the issue names no source file or test to target.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.