You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2020/04/13 16:07:30 UTC

[thrift] branch master updated (6bbdb1a -> 69642f3)

This is an automated email from the ASF dual-hosted git repository.

jensg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git.


    from 6bbdb1a  THRIFT-5166: Add support for using WebSockets as a server transport. Client: d Patch: James Lacey
     new daa7669  Update Thrift's latest branch status in README.md Patch: zeshuai007 <51...@qq.com>
     new 69642f3  THRIFT-5165: THttpClient saves session cookie. Client: py Patch: Joao Antonio

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                           | 1 +
 lib/py/src/transport/THttpClient.py | 4 ++++
 2 files changed, 5 insertions(+)


[thrift] 02/02: THRIFT-5165: THttpClient saves session cookie. Client: py Patch: Joao Antonio

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit 69642f389a06f5ba1b374de52c6b0e29892035d8
Author: Joao Antonio <jo...@gmail.com>
AuthorDate: Sat Apr 4 15:39:03 2020 +0100

    THRIFT-5165: THttpClient saves session cookie.
    Client: py
    Patch: Joao Antonio
    
    This closes #2086
---
 lib/py/src/transport/THttpClient.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/py/src/transport/THttpClient.py b/lib/py/src/transport/THttpClient.py
index 37b0a4d..212da3a 100644
--- a/lib/py/src/transport/THttpClient.py
+++ b/lib/py/src/transport/THttpClient.py
@@ -185,3 +185,7 @@ class THttpClient(TTransportBase):
         self.code = self.__http_response.status
         self.message = self.__http_response.reason
         self.headers = self.__http_response.msg
+
+        # Saves the cookie sent by the server response
+        if 'Set-Cookie' in self.headers:
+            self.__http.putheader('Cookie', self.headers['Set-Cookie'])


[thrift] 01/02: Update Thrift's latest branch status in README.md Patch: zeshuai007 <51382517@qq.com>

Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit daa7669a7665539a484815a7d5200651ba74df9a
Author: zeshuai007 <51...@qq.com>
AuthorDate: Fri Apr 10 14:27:27 2020 +0800

    Update Thrift's latest branch status in README.md
    Patch: zeshuai007 <51...@qq.com>
    
    This closes #2097
---
 README.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/README.md b/README.md
index 4bd2366..ff57321 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ Status
 | Branch | Travis | Appveyor | Coverity Scan | codecov.io | Website |
 | :----- | :----- | :------- | :------------ | :--------- | :------ |
 | [`master`](https://github.com/apache/thrift/tree/master) | [![Build Status](https://travis-ci.org/apache/thrift.svg?branch=master)](https://travis-ci.org/apache/thrift/branches) | [![Build status](https://ci.appveyor.com/api/projects/status/github/apache/thrift?branch=master&svg=true)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/history) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/1345/badge.svg)](https://scan.coverity.com/projects/thrift) |  [...]
+| [`0.13.0`](https://github.com/apache/thrift/tree/0.13.0) | [![Build Status](https://travis-ci.org/apache/thrift.svg?branch=0.13.0)](https://travis-ci.org/apache/thrift/branches) | | | | |
 | [`0.12.0`](https://github.com/apache/thrift/tree/0.12.0) | [![Build Status](https://travis-ci.org/apache/thrift.svg?branch=0.12.0)](https://travis-ci.org/apache/thrift/branches) | | | | |
 
 Releases