Skip to content

Support more HTTP headers #4479

@jcamiel

Description

@jcamiel

This curl command:

$ curl -s https://ollama.tymscar.com/api/tags | jq '.models[].name' | head -n 4
"gpt-oss:20b"
"llama3:8b-instruct-fp16"
"qwen3:32b"
"Supa-AI/mixtral-8x7b-instruct-v0.1:q4_k_m"

Would translate to the following Hurl file:

GET https://ollama.tymscar.com/api/tags
gpt-oss:20b
llama3:8b-instruct-fp16
qwen3:32b
Supa-AI/mixtral-8x7b-instruct-v0.1:q4_k_m
HTTP 200

Which is not valid:

$ hurl foo.hurl
error: Parsing method
  --> /tmp/test.hurl:5:1
   |
 5 | Supa-AI/mixtral-8x7b-instruct-v0.1:q4_k_m
   | ^ the HTTP method <Supa> is not valid. Valid values are GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
   |

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions