[GH-ISSUE #2950] [bug]: header Host set not work #959

Open
opened 2026-03-16 17:50:03 +03:00 by kerem · 1 comment
Owner

Originally created by @CyJaySong on GitHub (Mar 25, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2950

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Failed to send the correct Host

Steps to reproduce

1、ping www.baidu.com, get ip: 14.119.104.189
2、set 'http://14.119.104.189' in hoppscotch URL
3、set header 'Host' with 'www.baidu.com'

Environment

Production

Version

Cloud

Originally created by @CyJaySong on GitHub (Mar 25, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2950 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior Failed to send the correct Host ### Steps to reproduce 1、ping www.baidu.com, get ip: 14.119.104.189 2、set 'http://14.119.104.189' in hoppscotch URL 3、set header 'Host' with 'www.baidu.com' ### Environment Production ### Version Cloud
Author
Owner

@mbtx2 commented on GitHub (May 27, 2023):

I have also encountered this problem. Breaks testing on AWS private api gateways, since you are required to override the Host header.

<!-- gh-comment-id:1565661322 --> @mbtx2 commented on GitHub (May 27, 2023): I have also encountered this problem. Breaks testing on AWS private api gateways, since you are required to override the Host header.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#959
No description provided.