Comments (4)
I posit that we should perhaps not do this, in the light of this:
https://evertpot.com/http-2-finalized/ (look for 'reason phrase')
TL;DR: HTTP/2 does away with the reason phrase.
from kapow.
Let's postpone this until we have a chance to discuss it.
from kapow.
The custom reason phrases in the spec contains an important part of the message given to the client (the human explanation), so this can't be removed.
Given that is not likely that we use HTTP/2+ in the control/data API anyway, we decided to maintain the information in the reason phrase; if we finally decide to move to HTTP/2+ the messages will be moved to a custom header (not to the body because it adds complexity to the rest of the system).
from kapow.
Reason phrases where substituted by JSON payloads.
from kapow.
Related Issues (20)
- Document how to use Kapow! with a reverse proxy HOT 1
- Handle race condition between Control API and pow files
- Running Kapow as a service HOT 1
- TLS mutual authentication HOT 1
- Handle unexpected exit of servers HOT 1
- Is there any (configurable) cache mechanism ? HOT 2
- Would it be possible to see in the browser a continuous response from polling data generated by tail -f, journalctl -f or similar? HOT 3
- Dangling link in the docs (resource tree)
- Create resource tree for authentication information and include DN validation in mTLS
- Useless use of `cat` award :star: HOT 1
- Securize control interface HOT 1
- Crashs on start on wayland HOT 2
- Response is not finalized until stdout&stderr are closed
- kapow use bash or shell? HOT 1
- Do not flush /response/status immediately
- Force 500 when entrypoint return non-zero exit code HOT 1
- [Feature request] Add chroot option HOT 1
- KAPOW_CONTROL_SERVER_CERT error HOT 1
- Implement a proper logging system HOT 1
- Implement a `kapow version` subcommand HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kapow.