Adrien Marquès
|
3e096e91b8
|
add 'Authorization' header if not empty into controller parameters
|
2018-06-16 22:15:05 +02:00 |
Adrien Marquès
|
7e9f4867b0
|
add redirection
|
2018-06-16 18:36:03 +02:00 |
Adrien Marquès
|
8c22746375
|
update repo location
|
2018-06-15 15:28:28 +02:00 |
Adrien Marquès
|
43779b8644
|
new configuration format (more explicit + cleaner)
|
2018-06-03 15:08:47 +02:00 |
Adrien Marquès
|
13dc619abe
|
remove debug | add parameter 'rename' feature
|
2018-06-03 11:32:44 +02:00 |
Adrien Marquès
|
364481d3f3
|
implementable controller working + HTTP response writing
|
2018-06-01 11:07:34 +02:00 |
Adrien Marquès
|
ca05b7ff29
|
big update
|
2018-06-01 10:51:51 +02:00 |
Adrien Marquès
|
f0727cb9ca
|
moved 'err' into package
|
2018-06-01 09:09:32 +02:00 |
Adrien Marquès
|
282e36c74e
|
update imports to be in right package
|
2018-05-30 09:06:26 +02:00 |
Adrien Marquès
|
d5ac51f5d7
|
update imports to be in right package
|
2018-05-30 09:04:00 +02:00 |
Adrien Marquès
|
edf2cdf755
|
refactor parameter check
|
2018-05-29 19:01:20 +02:00 |
Adrien Marquès
|
fdf036d366
|
now parse parameter only if needed by controller's method
|
2018-05-29 16:00:43 +02:00 |
Adrien Marquès
|
8f9c86c391
|
moved data parser into 'request_data' + created internal lib to parse multipart inside 'internal/multipart' + added default type 'any' + more things...
|
2018-05-29 15:43:09 +02:00 |
Adrien Marquès
|
0641bb9131
|
add 'parseHttpParameter()' to parse as JSON (if slice of size 1 : return only first, else return as array) or return raw string if JSON fails
|
2018-05-28 18:25:17 +02:00 |
Adrien Marquès
|
75db1513bb
|
add Controller.Method(string) to interface the extraction of dynamic method
|
2018-05-24 16:22:29 +02:00 |
Adrien Marquès
|
2afa4759fc
|
now request.UrlData is simply an array instead of map[int]
|
2018-05-22 19:01:39 +02:00 |
Adrien Marquès
|
b0002a034d
|
update format get -> 'GET@...', url -> 'URL#...' + prevent parameter name injection (if begin with 'GET@' or 'URL#' in POST or GET)
|
2018-05-22 09:28:30 +02:00 |
Adrien Marquès
|
32520a1591
|
full parameter gathering in 'request_builder'
|
2018-05-22 09:10:10 +02:00 |
Adrien Marquès
|
18f4bcbbae
|
add 'controller path-finding' + 'method check' + [TODO: issue with ParseMultipartForm() that is slow]
|
2018-05-21 13:02:15 +02:00 |
Adrien Marquès
|
7301f2065c
|
created initialiser + request builder (which supports form-data, urlencoded, json)
|
2018-05-21 12:02:24 +02:00 |