- This topic has 5 replies, 2 voices, and was last updated 4 years, 10 months ago by .
Viewing 5 reply threads
Viewing 5 reply threads
- You must be logged in to reply to this topic.
Hi
I produce HTTP server for Android Application
Android application sends HTTP POST request and kbmMW HTTP server sends JSON as result. Is there some trick for easy enable compressing (compress result stream and add application-mimetype : zip in header) without any special changing on the application side? As I have read, the zip compression is native for Android
Thanks
Hi,
You would typically choose Content-Encoding: gzip as a header entry, and compress the DataStream of the service response.
I will see if I can make it an easy built in support.
best regards
Kim/C4D
Hi
What is the right way to add compressing in server response?
1. Write new TkbmMWAJAXZipResponseTransportStream class (based on TkbmMWAJAXResponseTransportStream)
2. Write new compressor class (similar as TkbmMW LZ Compression)
Thanks
Dear Kim
>I will see if I can make it an easy built in support.
I didn’t figure out how compress result. Did you make support for compress in current version kbmMW?
Thanks
Vadim Mescheryakov
Ah… yes.. I did mention looking into that didn’t I.
So you brought a bad conscience on me…. why I did not respond immediately.
Next version automatically supports gzip compression on compressible mimetypes when the caller supports gzip compression.
best regards
Kim/C4D
I look forward to
Thanks