fastn-stack / fastn

🚧 (Alpha stage software) fastn - better way to build websites 🚧
https://fastn.com
GNU Affero General Public License v3.0
466 stars 36 forks source link

404 from http process should not 500 #1821

Open amitu opened 5 months ago

amitu commented 5 months ago

Currently if we get a 404 from http processor we get server error. We should handle response codes in processor and 404 should be returned as 404. We should do this for all 4xx status codes. 3xx should be followed.

amitu commented 5 months ago

@harshdoesdev can you take a stab at it also this week?

harshdoesdev commented 5 months ago

@harshdoesdev can you take a stab at it also this week?

Sure