[GH-ISSUE #3698] [bug]: hoppscotch returns 404 instead of 301 #1279

Closed
opened 2026-03-16 19:35:59 +03:00 by kerem · 1 comment
Owner

Originally created by @yvz5 on GitHub (Dec 27, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3698

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I try to test an endpoint which returns 301, hoppscotch returns 404 instead of the actual response code 301

Steps to reproduce

  1. have an endpoint which return 301
  2. add a request pointing to that endpoint
  3. watch hoppscotch return 404 instead of 301

Environment

Production

Version

Local

Originally created by @yvz5 on GitHub (Dec 27, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3698 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I try to test an endpoint which returns 301, hoppscotch returns 404 instead of the actual response code 301 ### Steps to reproduce 1. have an endpoint which return 301 2. add a request pointing to that endpoint 3. watch hoppscotch return 404 instead of 301 ### Environment Production ### Version Local
kerem 2026-03-16 19:35:59 +03:00
Author
Owner

@liyasthomas commented on GitHub (Dec 27, 2023):

Hoppscotch automatically follows redirects, hence 301 Moved Permanently will fetch redirected URL and show its response which might result in 404 Not Found if that resource is not found.

Since this is an expected behavior, I'll close this issue ticket.

To track progress on automatically following redirects check #2095.

<!-- gh-comment-id:1870287481 --> @liyasthomas commented on GitHub (Dec 27, 2023): Hoppscotch automatically follows redirects, hence [301 Moved Permanently](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301) will fetch redirected URL and show its response which might result in [404 Not Found](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404) if that resource is not found. Since this is an expected behavior, I'll close this issue ticket. To track progress on automatically following redirects check #2095.
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#1279
No description provided.