Skip to content

Question about response body. #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
theo-ju opened this issue Oct 7, 2021 · 2 comments
Closed

Question about response body. #180

theo-ju opened this issue Oct 7, 2021 · 2 comments
Labels
question Further information is requested

Comments

@theo-ju
Copy link

theo-ju commented Oct 7, 2021

Dear team,

First of all, I really appreciate your effort and work on this project. 👍
This amazing pyodata has been helping me very much and so I could reduce my work hours dramatically. Thanks again.

This is not an issue. However I was not able to find any way to get some help from you guys. So, I leave my question here for now. If it needs to be deleted, please kindly redirect me to the right page.

I am very new at programming or coding... so please understand me if I am wrong at something.
My question is how I can get full response object(?) or body(?) something like in the below.

I could see from debug logger those kind of response, but I cannot retrieve any as a python object.
Ex)
--0A0A187DFF3A6C5CDDE8E3C2DE7FF04C0
Content-Type: application/http
Content-Length: 29504
content-transfer-encoding: binary

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 29311
dataserviceversion: 2.0
sap-metadata-last-modified: Sat, 22 Feb 2020 18:00:34 GMT
cache-control: no-store, no-cache

{"results":"blahblahblah"}
--0A0A187DFF3A6C5CDDE8E3C2DE7FF04C0--

@jfilak
Copy link
Contributor

jfilak commented Oct 8, 2021

@theo-ju Please have a look at the pull request #154 and please let me know if you find requests hooks useful or if you find the newly introduced observer interesting.

@phanak-sap phanak-sap added the question Further information is requested label Oct 15, 2021
@phanak-sap
Copy link
Contributor

Hi @theo-ju , I am closing the issue because it is almost month without any interaction. If your problem persists even with the requests hooks example, please reopen the issue with more details (python code).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants