c344ecceec
Fixed errors in navigate_to_url command, Fixed url templates in json_wire_protocol_command. Added test cases to AutoTest
jvelilla2013-04-17 10:06:34 -03:00
a547cbaeb1
Fixed HTTP_CLIENT_RESPONSE when dealing with redirection before it was storing some header in the body. now we added redirections: .. which is a list of redirection informations: - status line - header - and eventual redirection body (but at least by default, libcurl does not cache body)
jocelyn2013-04-11 15:53:46 +02:00
77e2a7107f
Merge branch 'master' of git://github.com/colin-adams/EWF
Colin Adams2013-04-11 12:07:59 +01:00
0ef31cead3
Added WSF_LAUNCHABLE_SERVICE which use a deferred `launch' feature. This makes it easy to support multiple connectors support
Jocelyn Fiat2013-03-29 17:51:20 +01:00
a8a3f3cb8b
reuse implementation from WSF_REQUEST to get input data for MIME handlers.
Jocelyn Fiat2013-03-29 17:50:34 +01:00
ec2792b645
Do not change tmp_name from WSF_UPLOADED_FILE ... otherwise the file will be removed at the end of the request
Jocelyn Fiat2013-03-29 15:10:51 +01:00
1470389600
Fixed MIME multipart form data handler And use content-length value if provided.
Jocelyn Fiat2013-03-29 15:10:17 +01:00
a0c000b50f
at this point we have no garantie that the header are sent this can be ensured only at {WGI_RESPONSE}.commit exit.
Jocelyn Fiat2013-03-28 19:06:55 +01:00
ba314cb3f5
First attempt at WSF_HTTP_PROTOCOL_VERSION
Colin Adams2013-03-27 17:18:16 +00:00
44cb0ad98c
Uncommented code to make recognized_methods supported by the method not allowed response.
Jocelyn Fiat2013-03-27 17:10:04 +01:00
01cab452d8
Removed WSF_URI_*_ROUTER_HELPER and use instead the WSF_URI_*_HELPER_FOR_ROUTED_SERVICE (the removed class were not in latest release, so this is safe to use the new name) Cosmetic
Jocelyn Fiat2013-03-27 17:00:58 +01:00
178a48cd7e
Updated all-safe.ecf (add all-stable-safe.ecf that includes only the library, examples and specific draft lib)
Jocelyn Fiat2013-03-27 15:22:32 +01:00
9f132a7b72
new integration ecf file that includes most of the library .ecf of EWF (note to include non library ecf, the related ecf should have a library_target)
Jocelyn Fiat2013-03-27 13:11:49 +01:00
c3c8c66f59
allow to to set html attribute to the select widget (useful to add code like onchange="this.form.submit()")
Jocelyn Fiat2013-03-26 15:27:23 +01:00
a23871ff5b
Moved more components from CMS to wsf_html. This includes WSF_PAGER, and feature in WSF_THEME .. including WSF_API_OPTIONS used to compute url and link.
Jocelyn Fiat2013-03-26 14:17:10 +01:00
955272f505
Do not use socket_ok .. but readable (as specified in precondition of read_stream_thread_aware
Jocelyn Fiat2013-03-26 09:16:34 +01:00
1ee6ffa725
Added self doc to the wsf file system handler Allow to hide the wsf file system handler from self documentation Better description format handling for the self doc
Jocelyn Fiat2013-03-25 19:13:55 +01:00
52cc356f8e
Extracted the WIDGET and FORM classes out of "cms" component and build the wsf_html library which also include the previous css lib.
Jocelyn Fiat2013-03-22 20:11:44 +01:00
273b4d13f5
Fixed default status code for redirection response message object.
Jocelyn Fiat2013-03-22 16:06:45 +01:00
c44cf5e983
Fixed assertion that were broken with recent delayed header response. Changed semantic of put_header_lines and add_header_lines, Now the arguments are iterable of string (i.e the header line)
Jocelyn Fiat2013-03-22 16:06:10 +01:00
d96a76bffa
Merge branch 'master' into skeleton_router
Colin Adams2013-03-22 14:28:01 +00:00
665772bda2
Display only suggestion for request's method
Jocelyn Fiat2013-03-22 15:23:24 +01:00
aa479af8fd
Include cms and css into the all-safe.ecf
Jocelyn Fiat2013-03-22 15:11:30 +01:00
9e2410c284
update CMS code due to CMS_CSS_* renaming
Jocelyn Fiat2013-03-22 15:10:49 +01:00
eca868f10f
Fixed self documentation when querying documentation related to a specific resource (uri, uri-template, ..) Before it was showing only the first found so if we had "/foo" GET -> FOO_GET_HANDLER "/foo" POST -> FOO_POST_HANDLER It was showing only the first, now this is working as expected.
Jocelyn Fiat2013-03-22 15:10:26 +01:00
a4095b4e16
Moved the *_CSS_* class in their own (draft) library, since they are not CMS specific.
Jocelyn Fiat2013-03-22 15:07:45 +01:00
813caa15e0
Removed WSF_AGENT_HANDLER since it was an artificial notion, as we have no common ancestor for WSF_HANDLER having execute (req: WSF_REQUEST; res: WSF_RESPONSE)
Jocelyn Fiat2013-03-21 15:50:10 +01:00
62d880a7c1
Fixed signature of `set_next' to allow redefinition. Added assertions
Jocelyn Fiat2013-03-21 15:47:52 +01:00
1f76fd5360
Now WSF_FILTER_HANDLER is a handler and has formal generic G constrained to WSF_HANDLER This eases implementation of potential descendants.
Jocelyn Fiat2013-03-21 15:47:10 +01:00
19df76c332
Added WSF_HANDLER_FILTER_WRAPPER to build a bridge from router to filter.
Jocelyn Fiat2013-03-21 15:44:29 +01:00
78c83a4b69
Added HTTP_AUTHORIZATION.is_basic: BOOLEAN query to know if this is a Basic HTTP Authorization.
Jocelyn Fiat2013-03-21 15:42:16 +01:00
ade9a30c03
Fixed WSF_FILE_RESPONSE and WSF_DOWNLOAD_RESPONSE and set the status code to be Ok by default
Jocelyn Fiat2013-03-21 15:23:08 +01:00
91a3b8176f
Amedned class header of WSF_METHOD_NOT_ALLOWED_RESPONSE
Colin Adams2013-03-20 20:10:54 +00:00
982efe6d14
Merge branch 'master' into skeleton_router
Colin Adams2013-03-20 07:19:44 +00:00
3f237c737d
mimic design of WSF_ROUTED_SERVICE for WSF_FILTERED_SERVICE and update the filter example to make it simpler and reuse code.
Jocelyn Fiat2013-03-19 22:00:25 +01:00