ouistiti-project / ouistiti Goto Github PK
View Code? Open in Web Editor NEWEmbedded HTTP server
License: MIT License
Embedded HTTP server
License: MIT License
To create new tests, it is required to send requests on different server connections.
The clienthelper may read more than one request file and open a connection for each one.
Currently the webstreamer send data to the opened socket. If any socket is not opened, the data are lost.
The packeted data may be piped, and send on GET request. The socket may be closed and reopened fir the next data.
A restAPI to subscribe a broker, and GET request to read new messages. PUT request to send data to the broker.
the module configuration must read urls.py files from django packages to set the scripts and links
Currently, the python script needs to be in the docroot of the module.
http://localhost/test/postfile.py/echo should run with docroot="/srv/www/py-bin";
Hi,
the LIBHTTPSERVER_DIR Build variable is supposed pointing to the sources of the libhttpserver that could be outside the "ouistiti" root dir. This variable should be used in the ".mk" files to add the "libhttpserver" in the Include paths but it is not which leads to a build error:
Error type:
mod_document.c:39:35: fatal error: httpserver/httpserver.h: No such file or directory
Fix: use the LIBHTTPSERVER_DIR in the .mk files
-mod_document_CFLAGS+=-DSTATIC_FILE -I../libhttpserver/include
+mod_document_CFLAGS+=-DSTATIC_FILE -I$(LIBHTTPSERVER_DIR)/include
regards
Haithem.
The documentation needs:
Python module should run with a new process.
The request's content should be send to the python function as a stream
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.