Code Monkey home page Code Monkey logo

siber's People

Contributors

allengblack avatar dependabot[bot] avatar jirevwe avatar noxecane avatar tobslob avatar

Watchers

 avatar

siber's Issues

add support for "Bad Gateway" and "Gateway Timeout" errors

Ideally there should be difference between internal server errors, and errors due to the server working as a gateway to another and getting an invalid response. This helps know if the problem is as a result of the server itself, or some external service it has to interface with

500 Internal Server Error -

The server has encountered a situation it doesn't know how to handle.

502 Bad Gateway -

This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.
In other words a server on the internet received an invalid response from another server.

504 Gateway Timeout -

This error response is given when the server is acting as a gateway and cannot get a response in time.

Descriptions gotten from MDN and another source

Error not properly handled for streaming requests

The handleError method of Controller doesn't end requests when headers have been sent.
This is mainly because it uses the headerSent flag to determine whether it should send a response in the case of an error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.