Comments (1)
Hi,
You are almost right. Wikipedia might say that but spec says something different. It says that even though the client may not understand specific status code (like 419) but it must understand the class of the status code.
HTTP status codes are extensible. HTTP applications are not required
to understand the meaning of all registered status codes, though such
understanding is obviously desirable.
But next sentence is:
However, applications MUST
understand the class of any status code, as indicated by the first
digit, and treat any unrecognized response as being equivalent to the
x00 status code of that class [...]
Specification describes only 5 different classes of status code: 1xx - 5xx.
Web clients implemented in JavaScript disallow creating a Response
object with the status code < 100 or > 599. When you try it throws an error. Therefore web client for such API wouldn't be possible.
I don't think that ARC should support something that is not allowed by the spec. I mean it easily can but it could lead other developers into a trap when the app allows a behavior that in real world would result with huge issue.
I'm closing it as won't fix but feel free to discuss the issue.
from arc-electron.
Related Issues (20)
- Websocket connection URL and websocket connection history should be saved
- Fix interface please
- Import postman collection throwing error HOT 2
- Chocolatey HOT 2
- Adding application/x-www-form-urlencoded automatically when in POST+application/x-www-form-urlencoded mode ? HOT 2
- Export from old chrome ARC to new desktop ARC not working HOT 2
- all session/project lost after updrade to version 17.0.9 HOT 4
- Help for BODY
- Mismatch in JSON numeric values between Raw tab and Response tab HOT 2
- Updating bearer token not possible HOT 2
- Allow import of PostMan Collections HOT 3
- The requested URL can't be reached HOT 2
- Moving From Chrome Application in 2023 HOT 14
- Is this project still alive? HOT 4
- Typo in README.md in the arc-electron repo HOT 2
- Multipart form data - unable to set content-type for file part. Also uploads files/content-type inconsistently. HOT 6
- Cant search history HOT 2
- Cannot import an API specification in Swagger 2.0 JSON format HOT 2
- search history has a bug HOT 2
- how to modify the UI , unable to find the entry point, where is the location or which file need to update to modify the UI
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 arc-electron.