nisavid / bedframe Goto Github PK
View Code? Open in Web Editor NEWA resource-oriented web services framework
License: GNU Lesser General Public License v3.0
A resource-oriented web services framework
License: GNU Lesser General Public License v3.0
an auth process constraint is a tuple of the form (connector class, process connection affordance set, connector class). a process plan template has an auth process constraint set. the authenticator resolves each connection according to the matched constraints, matching connection endpoints via isinstance()
.
support these settings:
*
)socket.gethostname()
) and FQDN (socket.getfqdn()
) (default yes
)(socket.gethostbyaddr()[0],) + socket.gethostbyaddr()[1]
) (default yes
)socket.gethostbyaddr()[2]
) (default yes
)use HTTP status 202 Accepted
.
some web methods return representations whose media types are parametric. currently, a web method that supports more than one combination of media type param values must define a separate representation function for each combination (actually, for best results, one for each permutation).
when encountering a parametrized media type, Bedframe should parse out the params and pass them into the corresponding repr method. this way, only one repr method is needed for each (unparametrized) repr type.
in principle, transport encryption (mainly TLS) can provide sufficient security for even plain auth (commonly HTTP Basic). however, transport encryption is often disabled, misconfigured, configured to use insecure or questionable mechanisms, or handled inappropriately by clients or users. older versions of common protocols and mechanisms, which have known vulnerabilities, are still commonly deployed. if the security of auth depends on the security of transport encryption, then vulnerabilities in the latter imply vulnerabilities in the former, which can be very bad. ideally, auth security should not be contingent on transport encryption security.
required security provisions:
skip startup resolution for especially complex process templates. provide a means for the service to set which process templates should be resolved on startup.
secure:
extensible:
decoupled:
the goal here is to handle requests for URIs of the form resource.ext
, where
in such a scenario, the requested web method should be treated as only supporting the inferred mediatype for its response content.
in other words, if the client's acceptable media ranges (according to the Accept
header) include the inferred mediatype, then the response content type should be that mediatype. if not, then the response should be a NoAcceptableMediaType
exception (in HTTP, 406 Not Acceptable
).
Bedframe should provide a default mapping of file extensions to media types, as well as some means to customize this mapping.
use HTTP headers Accept-Ranges
and Range
.
use this to obey HTTP Expect: 200-ok
.
example: attempt session login alongside existing session ID.
use WADL?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.