Bug 272020

Summary: Missing host header in fetch request
Product: WebKit Reporter: Amio <amio.cn>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: amio.cn, ap, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
See Also: https://bugs.webkit.org/show_bug.cgi?id=131105
Attachments:
Description Flags
no host header on the fetch request
none
sending same fetch request from console, no problem then none

Amio
Reported 2024-04-02 04:05:48 PDT
Created attachment 470717 [details] no host header on the fetch request There's no host header for a fetch request sent by the whatwg-fetch library. For more context, it's a page in webview, sending requests to localhost ollama api. For more screenshot https://github.com/ollama/ollama/issues/3384 I'm using Safari 17.4.1 on macOS 14.4.1
Attachments
no host header on the fetch request (141.89 KB, image/png)
2024-04-02 04:05 PDT, Amio
no flags
sending same fetch request from console, no problem then (174.04 KB, image/png)
2024-04-02 04:06 PDT, Amio
no flags
Amio
Comment 1 2024-04-02 04:06:51 PDT
Created attachment 470718 [details] sending same fetch request from console, no problem then
Alexey Proskuryakov
Comment 2 2024-04-03 13:04:32 PDT
Presumably this is a Web Inspector issue, as there's no way Host header field would actually be missing! I'm relating one related report, but I'm not sure what the canonical tracker here is.
Radar WebKit Bug Importer
Comment 3 2024-04-09 04:06:12 PDT
Note You need to log in before you can comment on or make changes to this bug.