yhirose/cpp-httplib

Client is throwing `READ` error when requesting healthy HTTP endpoints.

RobinQu opened this issue · 1 comments

I am having trouble to consume endpoints of Ollama.app, while curl and debug utilities like Postman are working just fine.

Envrionment

conan detected profile

arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos

cpp-httplib @ 0.15.3
Ollama 0.1.28

Detailed informantion

  • Repo to reproduce issue: https://github.com/RobinQu/httplib-test
  • Screenshot of failed run: Screenshot 1 below.
  • Successful run of curl: Screenshot 2 below.
  • Seccsesful run of Apifox (a similiar tool to Postman): Screenshot 3 below.

Screentshot 1

image

Screenshot 2

image

Screenshot 3

image

It looks like I am not alone.
#1379