duckdb / duckdb/duckdb-httpfs

Head requests return 405 (Method Not Allowed)

Open
#175 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
60
Forks
100
Avg merge
1h 50m
Merged PRs (30d)
25

Description

Good day,

Using read_json(_auto) (or all read_xxx) methods on a resources that blocks HEAD requests with a 405 (Method Not Allowed) status code fails with a SQL Error: HTTP Error: Unable to connect to URL.
But GET requests is OK in curl/postman.
Maybe it's worth skipping HEAD requests if a 405 error is returned?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.