Jocelyn Fiat
a8a3f3cb8b
reuse implementation from WSF_REQUEST to get input data for MIME handlers.
2013-03-29 17:50:34 +01:00
Jocelyn Fiat
1470389600
Fixed MIME multipart form data handler
...
And use content-length value if provided.
2013-03-29 15:10:17 +01:00
Jocelyn Fiat
3bc3e3b874
be sure we got the full content same as content length
2013-03-29 14:20:01 +01:00
Jocelyn Fiat
5926bbc0c2
Fixed signature of WSF_MIME_HANDLER.handle
2012-11-23 12:39:16 +01:00
Jocelyn Fiat
016efaed15
Updated Copyright
2012-10-04 15:04:14 +02:00
Jocelyn Fiat
c3c27c5027
Rather use (READABLE_)STRING_GENERAL for argument instead of _8 or _32 variant
...
Better design to set the WSF_REQUEST.path_parameters
especially handle the case where the request goes trought more than one route (could be the case when using WSF_ROUTING_HANDLER)
2012-05-14 18:12:28 +02:00
Jocelyn Fiat
9ba3caba12
cosmetic
2012-04-27 08:52:29 +02:00
Jocelyn Fiat
874677ab7a
Renamed same_media_type as same_simple_type
...
Added comments
2012-03-23 19:00:49 +01:00
Jocelyn Fiat
bcccfb22ed
Added HTTP_MEDIA_TYPE (maybe it will just replace the HTTP_CONTENT_TYPE later)
...
renamed .media_type as .simple_type for now
allow more than one parameters
2012-03-23 18:39:19 +01:00
Jocelyn Fiat
5c98d7ba4e
Use media_type as replacement for type_and_subtype_string in HTTP_CONTENT_TYPE
2012-03-23 16:49:13 +01:00
Jocelyn Fiat
40c6aff423
Added class HTTP_CONTENT_TYPE to help manipulation of Content-Type value
...
Now WSF_REQUEST return a HTTP_CONTENT_TYPE if available
Adapted WSF_MIME_HANDLER to use this new class
Added one manual autotest to test MIME handler
2012-03-23 16:40:13 +01:00
Jocelyn Fiat
71d5dc4795
Moved mime handler classes under wsf/src/mime/
2012-03-20 08:38:38 +01:00