Adrien Marquès
|
8c02bc53a5
|
add \r\n management instead of just \n + test the new behaviour
|
2018-09-26 09:36:41 +02:00 |
Adrien Marquès
|
ff9ff23e5a
|
fix \r\n trim for multipart lines
|
2018-09-26 08:09:55 +02:00 |
Adrien Marquès
|
0974658bf2
|
add debug to debug body parsers
|
2018-09-26 07:35:53 +02:00 |
Adrien Marquès
|
592ed23638
|
update multipart parser + tests
|
2018-09-25 21:22:25 +02:00 |
Adrien Marquès
|
f76e3d35fa
|
update readme + comment
|
2018-09-13 10:21:35 +02:00 |
Adrien Marquès
|
5aef3f5572
|
server implements http.Handler (ServeHTTP(responseWrite, request)) | apirequest.BuildFromHTTPRequest() becomes apirequest.FromHTTP() | update readme
|
2018-07-11 19:02:33 +02:00 |
Adrien Marquès
|
05d5c23038
|
fix aicra.files.IsDir() which logic was inverted | make add() private for registries (checker + middleware) + fix server.go (invalid address for Server.controller because wasn't initialized to NIL)
|
2018-07-11 01:51:10 +02:00 |
Adrien Marquès
|
1aee9e92fd
|
rename package 'request' -> 'apirequest' ; 'config' -> 'controller' + main types.go bundled into server.go + made attributes non-exported (lowercase)
|
2018-07-11 01:36:42 +02:00 |
Adrien Marquès
|
61b3c6c91c
|
min rename
|
2018-07-09 01:37:57 +02:00 |
Adrien Marquès
|
637bc91770
|
LINT: renaming + refactor
|
2018-07-09 01:34:21 +02:00 |
Adrien Marquès
|
6ebdd61325
|
LINT + Server.extractParameters is now private + add management for errors : 'UncallableController' and 'UncallableMethod'
|
2018-07-09 01:00:45 +02:00 |
Adrien Marquès
|
07bbdbbe30
|
rename 'implement' into 'response'
|
2018-07-09 00:15:29 +02:00 |
Adrien Marquès
|
6784c2df95
|
moved local imports into 'internal' parent package
|
2018-07-09 00:10:03 +02:00 |
Adrien Marquès
|
2b1bf77c0f
|
removed from /internal directory
|
2018-05-30 09:02:08 +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
|
73c36a3821
|
config.Load() now sets defaults for optional fields
|
2018-05-24 16:53:39 +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
|
8106c22dbd
|
implemented method check in 'config' package
|
2018-05-24 16:18:28 +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
|
60c0c92f3a
|
add config.format(name string) to format/check config format
|
2018-05-20 12:21:27 +02:00 |
Adrien Marquès
|
c9326a1bb3
|
moved 'config' in /internal
|
2018-05-20 10:46:39 +02:00 |