You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2010/07/28 22:21:17 UTC

[jira] Updated: (THRIFT-247) THttpServer Transport

     [ https://issues.apache.org/jira/browse/THRIFT-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier updated THRIFT-247:
-------------------------------

    Attachment: THRIFT-247_THttpServer.v4.patch

patch v4

- printf comment removed
- OK instead of Ok according to http://www.ietf.org/rfc/rfc2616.txt


> THttpServer Transport
> ---------------------
>
>                 Key: THRIFT-247
>                 URL: https://issues.apache.org/jira/browse/THRIFT-247
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (C++)
>            Reporter: Jérémie BORDIER
>            Priority: Minor
>         Attachments: THRIFT-247_THttpServer.patch, THRIFT-247_THttpServer.v2.patch, THRIFT-247_THttpServer.v3.patch, THRIFT-247_THttpServer.v4.patch
>
>
> Here is a first working version of the THttpServer transport for the C++ library.
> It was inspired by Mark Slee's THttpClient which i splitted into an interface, THttpTransport and two transport implementations, THttpClient and THttpServer. Tested with TJsonProtocol (the fixed revision available in THRIFT-244) and TBinaryProtocol in the tutorial example, works like a charm.
> The code is available in the attached patch, and in the gitweb tree in refs/pri/jbordier/cleaning_protocols, or also in github: http://github.com/ahfeel/thrift/tree/master
> It only supports POST requests yet, and i'm working in adding a ?callback=some_js_callback support to the URI to have JsonP protocol support.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.