apidash icon indicating copy to clipboard operation
apidash copied to clipboard

Unknown Response Content-Type - null.

Open Michal-Szczepaniak opened this issue 1 year ago • 7 comments

Describe the bug/problem I made simple request right after building apidash just to test it out aaaaaand i got "Unknown Response Content-Type - null. " which might be caused because of the very simple http server i was asking, not setting content-type. curl command itself executes without issue so its purely apidash issue.

Steps to Reproduce the bug/problem Probably just send request to server that won't return content type

Expected behavior it should display response, in my case json, like its nothing.

Device Info (The device where you encountered this issue):

  • OS: opensuse Tumbleweed but i don't think it matters
  • Version: master at the time of writing 806a72de4b35155c44b7db0955c0d92db1daccda
  • Browser (only if you encountered the issue while running the web app): nope

Michal-Szczepaniak avatar Jun 27 '24 16:06 Michal-Szczepaniak

Hi @Michal-Szczepaniak Can you do flutter clean and build it again .. It should get resolved.

ashitaprasad avatar Jun 27 '24 17:06 ashitaprasad

Still same issue :/

Michal-Szczepaniak avatar Jun 27 '24 17:06 Michal-Szczepaniak

Can you click on Headers and share the screenshot as shown below Screenshot 2024-06-27 at 10 58 32 PM

ashitaprasad avatar Jun 27 '24 17:06 ashitaprasad

Screenshot_20240627_203207

Michal-Szczepaniak avatar Jun 27 '24 18:06 Michal-Szczepaniak

Thanks for the screenshot. The error is due to null content type. We will add a fix to handle such cases and close this issue once it is live.

ashitaprasad avatar Jun 27 '24 18:06 ashitaprasad

ye literally what i said :D

Michal-Szczepaniak avatar Jun 27 '24 18:06 Michal-Szczepaniak

@Michal-Szczepaniak 😂

ashitaprasad avatar Jun 27 '24 18:06 ashitaprasad