Handle HTTP error codes #1

Closed
opened 2022-04-07 19:39:16 -07:00 by kj7rrv · 0 comments
Owner

Currently, netrun treats any HTTP response as a script, whether the response code is 200, 404, 500, 418, or anything else; this means it will ask you if you want to run error pages as scripts. It won't try to run the pages (unless you tell it to), but it will show the content in less. It should only run the script with a 200, prompt the user for a redirect, and fail otherwise.

Currently, netrun treats any HTTP response as a script, whether the response code is 200, 404, 500, 418, or anything else; this means it will ask you if you want to run error pages as scripts. It won't try to run the pages (unless you tell it to), but it will show the content in `less`. It should only run the script with a 200, prompt the user for a redirect, and fail otherwise.
kj7rrv added the
bug
label 2022-04-08 14:43:39 -07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: kj7rrv/netrun#1
No description provided.