Joris Vink
43a0aef29f
prefix HTTP defines when exporting them to python.
2018-04-10 14:35:52 +02:00
Joris Vink
548348f553
2018
2018-01-20 22:51:06 +01:00
Joris Vink
b95b623e72
Allow param blocks to be marked as "querystring"
...
Before params get would mean querystring and anything else
would just count toward a www-encoded body.
Now you can prefix the params block with "qs" indicating that
those configured parameters are allowed to occur in the query
string regardless of the method used.
This means you can do something like:
params qs:post /uri {
...
}
to specify what the allowed parameters are in the querystring for
a POST request towards /uri.
inspired by and properly fixes #205 .
2018-01-16 18:47:50 +01:00
Joris Vink
3b5d4a2b03
update example
2017-03-13 13:31:36 +01:00
Joris Vink
175b2e2c9b
kore flavor -> kodev flavor
2017-03-06 23:18:16 +01:00
Joris Vink
f1d33ab91b
kore -> kodev where appropriate
2017-03-06 11:00:53 +01:00
Joris Vink
3e84502235
Adjust examples after recent changes.
...
- New kodev tool generates config with server.pem/key.pem.
- Use proper formats for kore_log().
- Update to new websocket api.
2017-02-25 17:02:39 -08:00
Joris Vink
e9b4f966c2
expose new cookie stuff to python.
...
req.populate_cookies()
value = req.cookie("name")
2017-02-07 22:54:42 +01:00
Joris Vink
21bf7f9583
rework base example a bit.
2017-02-06 12:21:40 +01:00
Joris Vink
d3f84db4b8
small fixes.
2017-02-01 21:36:53 +01:00
Joris Vink
7fb47da586
add http_file example to python example.
2017-02-01 21:35:44 +01:00
Joris Vink
261fb3c3fa
flesh out python example a bit more.
2017-02-01 17:15:18 +01:00
Joris Vink
8629419253
the example uses tls by default, so use it.
2017-01-31 09:21:06 +01:00
Joris Vink
6e7de9ab93
update python ws example.
2017-01-30 22:40:59 +01:00
Joris Vink
3d3d705b98
flesh out the python stuff a bit more.
2017-01-30 20:47:24 +01:00
Joris Vink
7bc8bb42e2
implement kore_websockat_broadcast.
2017-01-30 20:30:42 +01:00
Joris Vink
5485967547
add websocket example to python
2017-01-29 22:57:55 +01:00
Joris Vink
7510834968
initial fudging to add websockets to python
2017-01-29 22:57:34 +01:00
Joris Vink
829066dc23
i can't port.
2017-01-26 22:02:11 +01:00
Joris Vink
4940f97079
remove stuff that is not ready yet and add README.
2017-01-26 22:01:23 +01:00
Joris Vink
ef441fb9a1
bah, be gone.
2017-01-25 22:38:43 +01:00
Joris Vink
ff48aed926
initial python example.
...
don't look too much into this yet.
2017-01-25 22:38:06 +01:00