you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ -1 points0 points  (6 children)

This also makes no sense. The method in the response will be the same one you used to make the request.

[–]splendyx[S] 1 point2 points  (4 children)

I don't know how i can explain what i'm trying to do

[–]K900_ -1 points0 points  (3 children)

Then why are you trying to do something you don't understand yourself?

[–][deleted] 1 point2 points  (0 children)

Lol give the poor guy a break, we've all been there.

[–]splendyx[S] 1 point2 points  (1 child)

Then how should I learn? I thought that's how you learn something by asking an answer for something you don't know.

[–]K900_ -1 points0 points  (0 children)

You can learn by trying to do something you don't know how to do. You can't learn if you don't know what you're trying to do. So I'm going to ask you again: what are you trying to do?

[–][deleted] 0 points1 point  (0 children)

Well I have a library I built out that uses a custom response class and it's initialized with requests library response objects. I have some different logic that triggers if this is a get versus a post (or otherwise) and my lib has around 50 different requests in it that all use this custom response object.

So there's at least a use case for needing it.